comments
stringlengths
1
16.6k
################################################################################ # CONFIGURE PROJECT MAKEFILE (optional) # This file is where we make project specific configurations. ################################################################################ ################################################################################ # OF ROOT # The location of your root openFrameworks installation # (default) OF_ROOT =../../.. ################################################################################ # OF_ROOT =../../.. ################################################################################ # PROJECT ROOT # The location of the project - a starting place for searching for files # (default) PROJECT_ROOT =. (this directory) # ################################################################################ # PROJECT_ROOT =. ################################################################################ # PROJECT SPECIFIC CHECKS # This is a project defined section to create internal makefile flags to # conditionally enable or disable the addition of various features within # this makefile. For instance, if you want to make changes based on whether # GTK is installed, one might test that here and create a variable to check. ################################################################################ # None ################################################################################ # PROJECT EXTERNAL SOURCE PATHS # These are fully qualified paths that are not within the PROJECT_ROOT folder. # Like source folders in the PROJECT_ROOT, these paths are subject to # exlclusion via the PROJECT_EXLCUSIONS list. # # (default) PROJECT_EXTERNAL_SOURCE_PATHS = (blank) # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_EXTERNAL_SOURCE_PATHS = ################################################################################ # PROJECT EXCLUSIONS # These makefiles assume that all folders in your current project directory # and any listed in the PROJECT_EXTERNAL_SOURCH_PATHS are are valid locations # to look for source code. The any folders or files that match any of the # items in the PROJECT_EXCLUSIONS list below will be ignored. # # Each item in the PROJECT_EXCLUSIONS list will be treated as a complete # string unless teh user adds a wildcard (%) operator to match subdirectories. # GNU make only allows one wildcard for matching. The second wildcard (%) is # treated literally. # # (default) PROJECT_EXCLUSIONS = (blank) # # Will automatically exclude the following:
adding list items with the += operator ################################################################################ # PROJECT_EXTERNAL_SOURCE_PATHS = ################################################################################ # PROJECT EXCLUSIONS # These makefiles assume that all folders in your current project directory # and any listed in the PROJECT_EXTERNAL_SOURCH_PATHS are are valid locations # to look for source code. The any folders or files that match any of the # items in the PROJECT_EXCLUSIONS list below will be ignored. # # Each item in the PROJECT_EXCLUSIONS list will be treated as a complete # string unless teh user adds a wildcard (%) operator to match subdirectories. # GNU make only allows one wildcard for matching. The second wildcard (%) is # treated literally. # # (default) PROJECT_EXCLUSIONS = (blank) # # Will automatically exclude the following: # # $(PROJECT_ROOT)/bin% # $(PROJECT_ROOT)/obj% # $(PROJECT_ROOT)/%.xcodeproj # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_EXCLUSIONS = ################################################################################ # PROJECT LINKER FLAGS # These flags will be sent to the linker when compiling the executable. # # (default) PROJECT_LDFLAGS = -Wl,-rpath=./libs # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # Currently, shared libraries that are needed are copied to the # $(PROJECT_ROOT)/bin/libs directory. The following LDFLAGS tell the linker to # add a runtime path to search for those shared libraries, since they aren't # incorporated directly into the final executable application binary. # TODO: should this be a default setting? # PROJECT_LDFLAGS=-Wl,-rpath=./libs ################################################################################ # PROJECT DEFINES # Create a space-delimited list of DEFINES. The list will be converted into # CFLAGS with the "-D" flag later in the makefile. # # (default) PROJECT_DEFINES = (blank) # # Note: Leave a leading space when adding list items with
LDFLAGS = -Wl,-rpath=./libs # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # Currently, shared libraries that are needed are copied to the # $(PROJECT_ROOT)/bin/libs directory. The following LDFLAGS tell the linker to # add a runtime path to search for those shared libraries, since they aren't # incorporated directly into the final executable application binary. # TODO: should this be a default setting? # PROJECT_LDFLAGS=-Wl,-rpath=./libs ################################################################################ # PROJECT DEFINES # Create a space-delimited list of DEFINES. The list will be converted into # CFLAGS with the "-D" flag later in the makefile. # # (default) PROJECT_DEFINES = (blank) # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_DEFINES = ################################################################################ # PROJECT CFLAGS # This is a list of fully qualified CFLAGS required when compiling for this # project. These CFLAGS will be used IN ADDITION TO the PLATFORM_CFLAGS # defined in your platform specific core configuration files. These flags are # presented to the compiler BEFORE the PROJECT_OPTIMIZATION_CFLAGS below. # # (default) PROJECT_CFLAGS = (blank) # # Note: Before adding PROJECT_CFLAGS, note that the PLATFORM_CFLAGS defined in # your platform specific configuration file will be applied by default and # further flags here may not be needed. # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CFLAGS = ################################################################################ # PROJECT OPTIMIZATION CFLAGS # These are lists of CFLAGS that are target-specific. While any flags could # be conditionally added, they are usually limited to optimization flags. # These flags are added BEFORE the PROJECT_CFLAGS. # # PROJECT_OPTIMIZATION_CFLAGS_RELEASE flags are only applied to RELEASE targets. # # (default) PROJECT_OPTIMIZATION_CFLAGS_RELEASE = (blank) # # PROJECT_
(default) PROJECT_CFLAGS = (blank) # # Note: Before adding PROJECT_CFLAGS, note that the PLATFORM_CFLAGS defined in # your platform specific configuration file will be applied by default and # further flags here may not be needed. # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CFLAGS = ################################################################################ # PROJECT OPTIMIZATION CFLAGS # These are lists of CFLAGS that are target-specific. While any flags could # be conditionally added, they are usually limited to optimization flags. # These flags are added BEFORE the PROJECT_CFLAGS. # # PROJECT_OPTIMIZATION_CFLAGS_RELEASE flags are only applied to RELEASE targets. # # (default) PROJECT_OPTIMIZATION_CFLAGS_RELEASE = (blank) # # PROJECT_OPTIMIZATION_CFLAGS_DEBUG flags are only applied to DEBUG targets. # # (default) PROJECT_OPTIMIZATION_CFLAGS_DEBUG = (blank) # # Note: Before adding PROJECT_OPTIMIZATION_CFLAGS, please note that the # PLATFORM_OPTIMIZATION_CFLAGS defined in your platform specific configuration # file will be applied by default and further optimization flags here may not # be needed. # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_OPTIMIZATION_CFLAGS_RELEASE = # PROJECT_OPTIMIZATION_CFLAGS_DEBUG = ################################################################################ # PROJECT COMPILERS # Custom compilers can be set for CC and CXX # (default) PROJECT_CXX = (blank) # (default) PROJECT_CC = (blank) # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CXX = # PROJECT_CC =
# # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_OPTIMIZATION_CFLAGS_RELEASE = # PROJECT_OPTIMIZATION_CFLAGS_DEBUG = ################################################################################ # PROJECT COMPILERS # Custom compilers can be set for CC and CXX # (default) PROJECT_CXX = (blank) # (default) PROJECT_CC = (blank) # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CXX = # PROJECT_CC =
################################################################################ # CONFIGURE PROJECT MAKEFILE (optional) # This file is where we make project specific configurations. ################################################################################ ################################################################################ # OF ROOT # The location of your root openFrameworks installation # (default) OF_ROOT =../../.. ################################################################################ # OF_ROOT =../../.. ################################################################################ # PROJECT ROOT # The location of the project - a starting place for searching for files # (default) PROJECT_ROOT =. (this directory) # ################################################################################ # PROJECT_ROOT =. ################################################################################ # PROJECT SPECIFIC CHECKS # This is a project defined section to create internal makefile flags to # conditionally enable or disable the addition of various features within # this makefile. For instance, if you want to make changes based on whether # GTK is installed, one might test that here and create a variable to check. ################################################################################ # None ################################################################################ # PROJECT EXTERNAL SOURCE PATHS # These are fully qualified paths that are not within the PROJECT_ROOT folder. # Like source folders in the PROJECT_ROOT, these paths are subject to # exlclusion via the PROJECT_EXLCUSIONS list. # # (default) PROJECT_EXTERNAL_SOURCE_PATHS = (blank) # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_EXTERNAL_SOURCE_PATHS = ################################################################################ # PROJECT EXCLUSIONS # These makefiles assume that all folders in your current project directory # and any listed in the PROJECT_EXTERNAL_SOURCH_PATHS are are valid locations # to look for source code. The any folders or files that match any of the # items in the PROJECT_EXCLUSIONS list below will be ignored. # # Each item in the PROJECT_EXCLUSIONS list will be treated as a complete # string unless teh user adds a wildcard (%) operator to match subdirectories. # GNU make only allows one wildcard for matching. The second wildcard (%) is # treated literally. # # (default) PROJECT_EXCLUSIONS = (blank) # # Will automatically exclude the following:
adding list items with the += operator ################################################################################ # PROJECT_EXTERNAL_SOURCE_PATHS = ################################################################################ # PROJECT EXCLUSIONS # These makefiles assume that all folders in your current project directory # and any listed in the PROJECT_EXTERNAL_SOURCH_PATHS are are valid locations # to look for source code. The any folders or files that match any of the # items in the PROJECT_EXCLUSIONS list below will be ignored. # # Each item in the PROJECT_EXCLUSIONS list will be treated as a complete # string unless teh user adds a wildcard (%) operator to match subdirectories. # GNU make only allows one wildcard for matching. The second wildcard (%) is # treated literally. # # (default) PROJECT_EXCLUSIONS = (blank) # # Will automatically exclude the following: # # $(PROJECT_ROOT)/bin% # $(PROJECT_ROOT)/obj% # $(PROJECT_ROOT)/%.xcodeproj # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_EXCLUSIONS = ################################################################################ # PROJECT LINKER FLAGS # These flags will be sent to the linker when compiling the executable. # # (default) PROJECT_LDFLAGS = -Wl,-rpath=./libs # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # Currently, shared libraries that are needed are copied to the # $(PROJECT_ROOT)/bin/libs directory. The following LDFLAGS tell the linker to # add a runtime path to search for those shared libraries, since they aren't # incorporated directly into the final executable application binary. # TODO: should this be a default setting? # PROJECT_LDFLAGS=-Wl,-rpath=./libs ################################################################################ # PROJECT DEFINES # Create a space-delimited list of DEFINES. The list will be converted into # CFLAGS with the "-D" flag later in the makefile. # # (default) PROJECT_DEFINES = (blank) # # Note: Leave a leading space when adding list items with
LDFLAGS = -Wl,-rpath=./libs # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # Currently, shared libraries that are needed are copied to the # $(PROJECT_ROOT)/bin/libs directory. The following LDFLAGS tell the linker to # add a runtime path to search for those shared libraries, since they aren't # incorporated directly into the final executable application binary. # TODO: should this be a default setting? # PROJECT_LDFLAGS=-Wl,-rpath=./libs ################################################################################ # PROJECT DEFINES # Create a space-delimited list of DEFINES. The list will be converted into # CFLAGS with the "-D" flag later in the makefile. # # (default) PROJECT_DEFINES = (blank) # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_DEFINES = ################################################################################ # PROJECT CFLAGS # This is a list of fully qualified CFLAGS required when compiling for this # project. These CFLAGS will be used IN ADDITION TO the PLATFORM_CFLAGS # defined in your platform specific core configuration files. These flags are # presented to the compiler BEFORE the PROJECT_OPTIMIZATION_CFLAGS below. # # (default) PROJECT_CFLAGS = (blank) # # Note: Before adding PROJECT_CFLAGS, note that the PLATFORM_CFLAGS defined in # your platform specific configuration file will be applied by default and # further flags here may not be needed. # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CFLAGS = ################################################################################ # PROJECT OPTIMIZATION CFLAGS # These are lists of CFLAGS that are target-specific. While any flags could # be conditionally added, they are usually limited to optimization flags. # These flags are added BEFORE the PROJECT_CFLAGS. # # PROJECT_OPTIMIZATION_CFLAGS_RELEASE flags are only applied to RELEASE targets. # # (default) PROJECT_OPTIMIZATION_CFLAGS_RELEASE = (blank) # # PROJECT_
(default) PROJECT_CFLAGS = (blank) # # Note: Before adding PROJECT_CFLAGS, note that the PLATFORM_CFLAGS defined in # your platform specific configuration file will be applied by default and # further flags here may not be needed. # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CFLAGS = ################################################################################ # PROJECT OPTIMIZATION CFLAGS # These are lists of CFLAGS that are target-specific. While any flags could # be conditionally added, they are usually limited to optimization flags. # These flags are added BEFORE the PROJECT_CFLAGS. # # PROJECT_OPTIMIZATION_CFLAGS_RELEASE flags are only applied to RELEASE targets. # # (default) PROJECT_OPTIMIZATION_CFLAGS_RELEASE = (blank) # # PROJECT_OPTIMIZATION_CFLAGS_DEBUG flags are only applied to DEBUG targets. # # (default) PROJECT_OPTIMIZATION_CFLAGS_DEBUG = (blank) # # Note: Before adding PROJECT_OPTIMIZATION_CFLAGS, please note that the # PLATFORM_OPTIMIZATION_CFLAGS defined in your platform specific configuration # file will be applied by default and further optimization flags here may not # be needed. # # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_OPTIMIZATION_CFLAGS_RELEASE = # PROJECT_OPTIMIZATION_CFLAGS_DEBUG = ################################################################################ # PROJECT COMPILERS # Custom compilers can be set for CC and CXX # (default) PROJECT_CXX = (blank) # (default) PROJECT_CC = (blank) # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CXX = # PROJECT_CC =
# # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_OPTIMIZATION_CFLAGS_RELEASE = # PROJECT_OPTIMIZATION_CFLAGS_DEBUG = ################################################################################ # PROJECT COMPILERS # Custom compilers can be set for CC and CXX # (default) PROJECT_CXX = (blank) # (default) PROJECT_CC = (blank) # Note: Leave a leading space when adding list items with the += operator ################################################################################ # PROJECT_CXX = # PROJECT_CC =
#! /bin/sh # Output a system dependent table of character encoding aliases. # # Copyright (C) 2000-2004, 2006-2009 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # The table consists of lines of the form # ALIAS CANONICAL # # ALIAS is the (system dependent) result of "nl_langinfo (CODESET)". # ALIAS is compared in a case sensitive way. # # CANONICAL is the GNU canonical name for this character encoding. # It must be an encoding supported by libiconv. Support by GNU libc is # also desirable. CANONICAL is case insensitive. Usually an upper case # MIME charset name is preferred. # The current list of GNU canonical charset names is as follows. # # name MIME? used by which systems # ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin # ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin # ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin # ISO-8859-
sensitive way. # # CANONICAL is the GNU canonical name for this character encoding. # It must be an encoding supported by libiconv. Support by GNU libc is # also desirable. CANONICAL is case insensitive. Usually an upper case # MIME charset name is preferred. # The current list of GNU canonical charset names is as follows. # # name MIME? used by which systems # ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin # ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin # ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin # ISO-8859-3 Y glibc solaris # ISO-8859-4 Y osf solaris freebsd netbsd openbsd darwin # ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin # ISO-8859-6 Y glibc aix hpux solaris # ISO-8859-7 Y glibc aix hpux irix osf solaris netbsd openbsd darwin # ISO-8859-8 Y glibc aix hpux osf solaris # ISO-8859-9 Y glibc aix hpux irix osf solaris darwin # ISO-8859-13 glibc netbsd openbsd darwin # ISO-8859-14 glibc # ISO-8859-15 glibc aix osf solaris freebsd netbsd openbsd darwin # KOI8-R Y glibc solaris freebsd netbsd openbsd darwin # KOI8-U Y glibc freebsd netbsd openbsd darwin # KOI8-T glibc
9-7 Y glibc aix hpux irix osf solaris netbsd openbsd darwin # ISO-8859-8 Y glibc aix hpux osf solaris # ISO-8859-9 Y glibc aix hpux irix osf solaris darwin # ISO-8859-13 glibc netbsd openbsd darwin # ISO-8859-14 glibc # ISO-8859-15 glibc aix osf solaris freebsd netbsd openbsd darwin # KOI8-R Y glibc solaris freebsd netbsd openbsd darwin # KOI8-U Y glibc freebsd netbsd openbsd darwin # KOI8-T glibc # CP437 dos # CP775 dos # CP850 aix osf dos # CP852 dos # CP855 dos # CP856 aix # CP857 dos # CP861 dos # CP862 dos # CP864 dos # CP865 dos # CP866 freebsd netbsd openbsd darwin dos # CP869 dos # CP874 woe32 dos # CP922 aix # CP932 aix woe32 dos # CP943 aix # CP949 osf darwin woe32 dos # CP950 woe32 dos # CP1046 aix # CP1124 aix # CP1125 dos # CP1129 aix # CP1131 darwin # CP1250 woe32 # CP1251 glibc solaris netbsd openbsd darwin woe32 #
5 dos # CP866 freebsd netbsd openbsd darwin dos # CP869 dos # CP874 woe32 dos # CP922 aix # CP932 aix woe32 dos # CP943 aix # CP949 osf darwin woe32 dos # CP950 woe32 dos # CP1046 aix # CP1124 aix # CP1125 dos # CP1129 aix # CP1131 darwin # CP1250 woe32 # CP1251 glibc solaris netbsd openbsd darwin woe32 # CP1252 aix woe32 # CP1253 woe32 # CP1254 woe32 # CP1255 glibc woe32 # CP1256 woe32 # CP1257 woe32 # GB2312 Y glibc aix hpux irix solaris freebsd netbsd darwin # EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin # EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin # EUC-TW glibc aix hpux irix osf solaris netbsd # BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin # BIG5-HKSCS glibc solaris darwin # GBK glibc aix osf solaris darwin woe32 dos # GB18030 glibc solaris netbsd darwin # SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin # JOHAB glibc
aris freebsd netbsd darwin # EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin # EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin # EUC-TW glibc aix hpux irix osf solaris netbsd # BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin # BIG5-HKSCS glibc solaris darwin # GBK glibc aix osf solaris darwin woe32 dos # GB18030 glibc solaris netbsd darwin # SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin # JOHAB glibc solaris woe32 # TIS-620 glibc aix hpux osf solaris # VISCII Y glibc # TCVN5712-1 glibc # ARMSCII-8 glibc darwin # GEORGIAN-PS glibc # PT154 glibc # HP-ROMAN8 hpux # HP-ARABIC8 hpux # HP-GREEK8 hpux # HP-HEBREW8 hpux # HP-TURKISH8 hpux # HP-KANA8 hpux # DEC-KANJI osf # DEC-HANYU osf # UTF-8 Y glibc aix hpux osf solaris netbsd darwin # # Note: Names which are not marked as being a MIME name should not be used in # Internet protocols for information interchange (mail, news, etc.). # # Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications # must understand both names and treat them as equivalent. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MAN
HP-ARABIC8 hpux # HP-GREEK8 hpux # HP-HEBREW8 hpux # HP-TURKISH8 hpux # HP-KANA8 hpux # DEC-KANJI osf # DEC-HANYU osf # UTF-8 Y glibc aix hpux osf solaris netbsd darwin # # Note: Names which are not marked as being a MIME name should not be used in # Internet protocols for information interchange (mail, news, etc.). # # Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications # must understand both names and treat them as equivalent. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
/***************************************************************************** * The BYTE UNIX Benchmarks - Release 3 * Module: dhry.h SID: 3.4 5/15/91 19:30:21 * ***************************************************************************** * Bug reports, patches, comments, suggestions should be sent to: * * Ben Smith, Rick Grehan or Tom Yager * ben@bytepb.byte.com rick_g@bytepb.byte.com tyager@bytepb.byte.com * ***************************************************************************** * Modification Log: * addapted from: * * * "DHRYSTONE" Benchmark Program * ----------------------------- * * Version: C, Version 2.1 * * File: dhry.h (part 1 of 3) * * Date: May 25, 1988 * * Author: Reinhold P. Weicker * Siemens AG, AUT E 51 * Postfach 3220 * 8520 Erlangen * Germany (West) * Phone: [+49]-9131-7-20330 * (8-17 Central European Time) * Usenet:..!mcvax!unido!estevax!weicker * * Original Version (in Ada) published in * "Communications of the ACM" vol. 27., no. 10 (Oct. 1984), * pp. 1013 - 1030, together with the statistics * on which the distribution of statements etc. is based. * * In this C version, the following C library functions are used: * - strcpy, strcmp (inside the measurement loop) * - printf, scanf (outside the measurement loop) * In addition, Berkeley UNIX system calls "times ()" or "time ()" * are used for execution time measurement. For measurements * on other systems, these calls have to be changed. * * Collection of
Central European Time) * Usenet:..!mcvax!unido!estevax!weicker * * Original Version (in Ada) published in * "Communications of the ACM" vol. 27., no. 10 (Oct. 1984), * pp. 1013 - 1030, together with the statistics * on which the distribution of statements etc. is based. * * In this C version, the following C library functions are used: * - strcpy, strcmp (inside the measurement loop) * - printf, scanf (outside the measurement loop) * In addition, Berkeley UNIX system calls "times ()" or "time ()" * are used for execution time measurement. For measurements * on other systems, these calls have to be changed. * * Collection of Results: * Reinhold Weicker (address see above) and * * Rick Richardson * PC Research. Inc. * 94 Apple Orchard Drive * Tinton Falls, NJ 07724 * Phone: (201) 834-1378 (9-17 EST) * Usenet:...!seismo!uunet!pcrat!rick * * Please send results to Rick Richardson and/or Reinhold Weicker. * Complete information should be given on hardware and software used. * Hardware information includes: Machine type, CPU, type and size * of caches; for microprocessors: clock frequency, memory speed * (number of wait states). * Software information includes: Compiler (and runtime library) * manufacturer and version, compilation switches, OS version. * The Operating System version may give an indication about the * compiler; Dhrystone itself performs no OS calls in the measurement loop. * * The complete output generated by the program should be mailed * such that at least some checks for correctness can be made. * *************************************************************************** * * History: This version C/2.1 has been made for two reasons: *
!pcrat!rick * * Please send results to Rick Richardson and/or Reinhold Weicker. * Complete information should be given on hardware and software used. * Hardware information includes: Machine type, CPU, type and size * of caches; for microprocessors: clock frequency, memory speed * (number of wait states). * Software information includes: Compiler (and runtime library) * manufacturer and version, compilation switches, OS version. * The Operating System version may give an indication about the * compiler; Dhrystone itself performs no OS calls in the measurement loop. * * The complete output generated by the program should be mailed * such that at least some checks for correctness can be made. * *************************************************************************** * * History: This version C/2.1 has been made for two reasons: * * 1) There is an obvious need for a common C version of * Dhrystone, since C is at present the most popular system * programming language for the class of processors * (microcomputers, minicomputers) where Dhrystone is used most. * There should be, as far as possible, only one C version of * Dhrystone such that results can be compared without * restrictions. In the past, the C versions distributed * by Rick Richardson (Version 1.1) and by Reinhold Weicker * had small (though not significant) differences. * * 2) As far as it is possible without changes to the Dhrystone * statistics, optimizing compilers should be prevented from * removing significant statements. * * This C version has been developed in cooperation with * Rick Richardson (Tinton Falls, NJ), it incorporates many * ideas from the "Version 1.1" distributed previously by * him over the UNIX network Usenet. * I also thank Chaim Benedelac (National Semiconductor), * David Ditzel (SUN), Earl Killian and John Mashey (MIPS), * Alan Smith and Raf
restrictions. In the past, the C versions distributed * by Rick Richardson (Version 1.1) and by Reinhold Weicker * had small (though not significant) differences. * * 2) As far as it is possible without changes to the Dhrystone * statistics, optimizing compilers should be prevented from * removing significant statements. * * This C version has been developed in cooperation with * Rick Richardson (Tinton Falls, NJ), it incorporates many * ideas from the "Version 1.1" distributed previously by * him over the UNIX network Usenet. * I also thank Chaim Benedelac (National Semiconductor), * David Ditzel (SUN), Earl Killian and John Mashey (MIPS), * Alan Smith and Rafael Saavedra-Barrera (UC at Berkeley) * for their help with comments on earlier versions of the * benchmark. * * Changes: In the initialization part, this version follows mostly * Rick Richardson's version distributed via Usenet, not the * version distributed earlier via floppy disk by Reinhold Weicker. * As a concession to older compilers, names have been made * unique within the first 8 characters. * Inside the measurement loop, this version follows the * version previously distributed by Reinhold Weicker. * * At several places in the benchmark, code has been added, * but within the measurement loop only in branches that * are not executed. The intention is that optimizing compilers * should be prevented from moving code out of the measurement * loop, or from removing code altogether. Since the statements * that are executed within the measurement loop have NOT been * changed, the numbers defining the "Dhrystone distribution" * (distribution of statements, operand types and locality) * still hold. Except for sophisticated optimizing compilers, * execution times for this version should be the same as * for previous versions. * * Since it has proven difficult to subtract the
unique within the first 8 characters. * Inside the measurement loop, this version follows the * version previously distributed by Reinhold Weicker. * * At several places in the benchmark, code has been added, * but within the measurement loop only in branches that * are not executed. The intention is that optimizing compilers * should be prevented from moving code out of the measurement * loop, or from removing code altogether. Since the statements * that are executed within the measurement loop have NOT been * changed, the numbers defining the "Dhrystone distribution" * (distribution of statements, operand types and locality) * still hold. Except for sophisticated optimizing compilers, * execution times for this version should be the same as * for previous versions. * * Since it has proven difficult to subtract the time for the * measurement loop overhead in a correct way, the loop check * has been made a part of the benchmark. This does have * an impact - though a very minor one - on the distribution * statistics which have been updated for this version. * * All changes within the measurement loop are described * and discussed in the companion paper "Rationale for * Dhrystone version 2". * * Because of the self-imposed limitation that the order and * distribution of the executed statements should not be * changed, there are still cases where optimizing compilers * may not generate code for some statements. To a certain * degree, this is unavoidable for small synthetic benchmarks. * Users of the benchmark are advised to check code listings * whether code is generated for all statements of Dhrystone. * * Version 2.1 is identical to version 2.0 distributed via * the UNIX network Usenet in March 1988 except that it corrects * some minor deficiencies that were found by users of version 2.0. * The only change within the measurement loop is that a * non-executed "else" part was added to the "if" statement in * Func_3, and a non-
Because of the self-imposed limitation that the order and * distribution of the executed statements should not be * changed, there are still cases where optimizing compilers * may not generate code for some statements. To a certain * degree, this is unavoidable for small synthetic benchmarks. * Users of the benchmark are advised to check code listings * whether code is generated for all statements of Dhrystone. * * Version 2.1 is identical to version 2.0 distributed via * the UNIX network Usenet in March 1988 except that it corrects * some minor deficiencies that were found by users of version 2.0. * The only change within the measurement loop is that a * non-executed "else" part was added to the "if" statement in * Func_3, and a non-executed "else" part removed from Proc_3. * *************************************************************************** * * Defines: The following "Defines" are possible: * -DREG=register (default: Not defined) * As an approximation to what an average C programmer * might do, the "register" storage class is applied * (if enabled by -DREG=register) * - for local variables, if they are used (dynamically) * five or more times * - for parameters if they are used (dynamically) * six or more times * Note that an optimal "register" strategy is * compiler-dependent, and that "register" declarations * do not necessarily lead to faster execution. * -DNOSTRUCTASSIGN (default: Not defined) * Define if the C compiler does not support * assignment of structures. * -DNOENUMS (default: Not defined) * Define if the C compiler does not support * enumeration types. * -DTIMES (default) * -DTIME * The "times" function of UNIX (returning process times) * or the "time" function (returning wallclock time) * is used for measurement. * For single user machines, "time ()" is a
) * five or more times * - for parameters if they are used (dynamically) * six or more times * Note that an optimal "register" strategy is * compiler-dependent, and that "register" declarations * do not necessarily lead to faster execution. * -DNOSTRUCTASSIGN (default: Not defined) * Define if the C compiler does not support * assignment of structures. * -DNOENUMS (default: Not defined) * Define if the C compiler does not support * enumeration types. * -DTIMES (default) * -DTIME * The "times" function of UNIX (returning process times) * or the "time" function (returning wallclock time) * is used for measurement. * For single user machines, "time ()" is adequate. For * multi-user machines where you cannot get single-user * access, use the "times ()" function. If you have * neither, use a stopwatch in the dead of night. * "printf"s are provided marking the points "Start Timer" * and "Stop Timer". DO NOT use the UNIX "time(1)" * command, as this will measure the total time to * run this program, which will (erroneously) include * the time to allocate storage (malloc) and to perform * the initialization. * -DHZ=nnn * In Berkeley UNIX, the function "times" returns process * time in 1/HZ seconds, with HZ = 60 for most systems. * CHECK YOUR SYSTEM DESCRIPTION BEFORE YOU JUST APPLY * A VALUE. * *************************************************************************** * * Compilation model and measurement (IMPORTANT): * * This C version of Dhrystone consists of three files: * - dhry.h (this file, containing global definitions and comments) * - dhry_1.c (containing the code corresponding to Ada package Pack_1) * - dhry_2.c (containing the code corresponding to Ada package Pack_2) * *
run this program, which will (erroneously) include * the time to allocate storage (malloc) and to perform * the initialization. * -DHZ=nnn * In Berkeley UNIX, the function "times" returns process * time in 1/HZ seconds, with HZ = 60 for most systems. * CHECK YOUR SYSTEM DESCRIPTION BEFORE YOU JUST APPLY * A VALUE. * *************************************************************************** * * Compilation model and measurement (IMPORTANT): * * This C version of Dhrystone consists of three files: * - dhry.h (this file, containing global definitions and comments) * - dhry_1.c (containing the code corresponding to Ada package Pack_1) * - dhry_2.c (containing the code corresponding to Ada package Pack_2) * * The following "ground rules" apply for measurements: * - Separate compilation * - No procedure merging * - Otherwise, compiler optimizations are allowed but should be indicated * - Default results are those without register declarations * See the companion paper "Rationale for Dhrystone Version 2" for a more * detailed discussion of these ground rules. * * For 16-Bit processors (e.g. 80186, 80286), times for all compilation * models ("small", "medium", "large" etc.) should be given if possible, * together with a definition of these models for the compiler system used. * ************************************************************************** * * Dhrystone (C version) statistics: * * [Comment from the first distribution, updated for version 2. * Note that because of language differences, the numbers are slightly * different from the Ada version.] * * The following program contains statements of a high level programming * language (here: C) in a distribution considered representative: * * assignments 52 (51.0 %) * control statements 33 (32.4 %) * procedure, function calls 17 (16.7 %) * * 103
0186, 80286), times for all compilation * models ("small", "medium", "large" etc.) should be given if possible, * together with a definition of these models for the compiler system used. * ************************************************************************** * * Dhrystone (C version) statistics: * * [Comment from the first distribution, updated for version 2. * Note that because of language differences, the numbers are slightly * different from the Ada version.] * * The following program contains statements of a high level programming * language (here: C) in a distribution considered representative: * * assignments 52 (51.0 %) * control statements 33 (32.4 %) * procedure, function calls 17 (16.7 %) * * 103 statements are dynamically executed. The program is balanced with * respect to the three aspects: * * - statement type * - operand type * - operand locality * operand global, local, parameter, or constant. * * The combination of these three aspects is balanced only approximately. * * 1. Statement Type: * ----------------- number * * V1 = V2 9 * (incl. V1 = F(..) * V = Constant 12 * Assignment, 7 * with array element * Assignment, 6 * with record component * -- * 34 34 * * X = Y +|-|"&&"|"|" Z 5 * X = Y +|-|"==" Constant 6 * X = X +|- 1 3 * X = Y *|/ Z 2 * X = Expression, 1 * two operators * X = Expression, 1 * three operators * -- * 18 18 * * if.... 14 * with "else" 7 * without "else" 7 * executed 3 * not executed 4 * for...
* (incl. V1 = F(..) * V = Constant 12 * Assignment, 7 * with array element * Assignment, 6 * with record component * -- * 34 34 * * X = Y +|-|"&&"|"|" Z 5 * X = Y +|-|"==" Constant 6 * X = X +|- 1 3 * X = Y *|/ Z 2 * X = Expression, 1 * two operators * X = Expression, 1 * three operators * -- * 18 18 * * if.... 14 * with "else" 7 * without "else" 7 * executed 3 * not executed 4 * for... 7 | counted every time * while... 4 | the loop condition * do... while 1 | is evaluated * switch... 1 * break 1 * declaration with 1 * initialization * -- * 34 34 * * P (...) procedure call 11 * user procedure 10 * library procedure 1 * X = F (...) * function call 6 * user function 5 * library function 1 * -- * 17 17 * --- * 103 * * The average number of parameters in procedure or function calls * is 1.82 (not counting the function values as implicit parameters). * * * 2. Operators * ------------ * number approximate * percentage * * Arithmetic 32 50.8 * * + 21 33.3 * - 7 11.1 * * 3 4.8 * / (int div) 1 1.6 * * Comparison 27 42.8 * * == 9 14.3 * /=
X = F (...) * function call 6 * user function 5 * library function 1 * -- * 17 17 * --- * 103 * * The average number of parameters in procedure or function calls * is 1.82 (not counting the function values as implicit parameters). * * * 2. Operators * ------------ * number approximate * percentage * * Arithmetic 32 50.8 * * + 21 33.3 * - 7 11.1 * * 3 4.8 * / (int div) 1 1.6 * * Comparison 27 42.8 * * == 9 14.3 * /= 4 6.3 * > 1 1.6 * < 3 4.8 * >= 1 1.6 * <= 9 14.3 * * Logic 4 6.3 * * && (AND-THEN) 1 1.6 * | (OR) 1 1.6 * ! (NOT) 2 3.2 * * -- ----- * 63 100.1 * * * 3. Operand Type (counted once per operand reference): * --------------- * number approximate * percentage * * Integer 175 72.3 % * Character 45 18.6 % * Pointer 12 5.0 % * String30 6 2.5 % * Array 2 0.8 % * Record 2 0.8 % * --- ------- * 242 100.0 % * * When there is an access path leading to the final operand (e.g. a record * component), only the final data type on the access path is counted. * * * 4
3.2 * * -- ----- * 63 100.1 * * * 3. Operand Type (counted once per operand reference): * --------------- * number approximate * percentage * * Integer 175 72.3 % * Character 45 18.6 % * Pointer 12 5.0 % * String30 6 2.5 % * Array 2 0.8 % * Record 2 0.8 % * --- ------- * 242 100.0 % * * When there is an access path leading to the final operand (e.g. a record * component), only the final data type on the access path is counted. * * * 4. Operand Locality: * ------------------- * number approximate * percentage * * local variable 114 47.1 % * global variable 22 9.1 % * parameter 45 18.6 % * value 23 9.5 % * reference 22 9.1 % * function result 6 2.5 % * constant 55 22.7 % * --- ------- * 242 100.0 % * * * The program does not compute anything meaningful, but it is syntactically * and semantically correct. All variables have a value assigned to them * before they are used as a source operand. * * There has been no explicit effort to account for the effects of a * cache, or to balance the use of long or short displacements for code or * data. * *************************************************************************** */
* constant 55 22.7 % * --- ------- * 242 100.0 % * * * The program does not compute anything meaningful, but it is syntactically * and semantically correct. All variables have a value assigned to them * before they are used as a source operand. * * There has been no explicit effort to account for the effects of a * cache, or to balance the use of long or short displacements for code or * data. * *************************************************************************** */
/* linenoise.c -- VERSION 1.0 * * Guerrilla line editing library against the idea that a line editing lib * needs to be 20,000 lines of C code. * * You can find the latest source code at: * * http://github.com/antirez/linenoise * * Does a number of crazy assumptions that happen to be true in 99.9999% of * the 2010 UNIX computers around. * * ------------------------------------------------------------------------ * * Copyright (c) 2010-2014, Salvatore Sanfilippo <antirez at gmail dot com> * Copyright (c) 2010-2013, Pieter Noordhuis <pcnoordhuis at gmail dot com> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * ------------------------------------------------------------------------ * * References: * - http://invisible-island.net/xterm/ctl
other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * ------------------------------------------------------------------------ * * References: * - http://invisible-island.net/xterm/ctlseqs/ctlseqs.html * - http://www.3waylabs.com/nw/WWW/products/wizcon/vt220.html * * Todo list: * - Filter bogus Ctrl+<char> combinations. * - Win32 support * * Bloat: * - History search like Ctrl+r in readline? * * List of escape sequences used by this program, we do everything just * with three sequences. In order to be so cheap we may have some * flickering effect with some slow terminal, but the lesser sequences * the more compatible. * * EL (Erase Line) * Sequence: ESC [ n K * Effect: if n is 0 or missing, clear from cursor to end of line * Effect: if n is 1, clear from beginning of line to cursor * Effect: if n is 2, clear entire line * * CUF (CUrsor Forward) * Sequence: ESC [ n C * Effect: moves cursor forward n chars * * CUB (CUrsor Backward) * Sequence: ESC [ n D * Effect: moves cursor backward n chars * * The following is used to get the terminal width if getting * the width with the TIOCGWINSZ ioctl
* with three sequences. In order to be so cheap we may have some * flickering effect with some slow terminal, but the lesser sequences * the more compatible. * * EL (Erase Line) * Sequence: ESC [ n K * Effect: if n is 0 or missing, clear from cursor to end of line * Effect: if n is 1, clear from beginning of line to cursor * Effect: if n is 2, clear entire line * * CUF (CUrsor Forward) * Sequence: ESC [ n C * Effect: moves cursor forward n chars * * CUB (CUrsor Backward) * Sequence: ESC [ n D * Effect: moves cursor backward n chars * * The following is used to get the terminal width if getting * the width with the TIOCGWINSZ ioctl fails * * DSR (Device Status Report) * Sequence: ESC [ 6 n * Effect: reports the current cusor position as ESC [ n ; m R * where n is the row and m is the column * * When multi line mode is enabled, we also use an additional escape * sequence. However multi line editing is disabled by default. * * CUU (Cursor Up) * Sequence: ESC [ n A * Effect: moves cursor up of n chars. * * CUD (Cursor Down) * Sequence: ESC [ n B * Effect: moves cursor down of n chars. * * When linenoiseClearScreen() is called, two additional escape sequences * are used in order to clear the screen and position the cursor at home * position. * * CUP (Cursor position) * Sequence: ESC [ H * Effect: moves the cursor to upper left corner * * ED (Erase display) * Sequence: ESC [ 2 J * Effect: clear the whole screen * */
[ n A * Effect: moves cursor up of n chars. * * CUD (Cursor Down) * Sequence: ESC [ n B * Effect: moves cursor down of n chars. * * When linenoiseClearScreen() is called, two additional escape sequences * are used in order to clear the screen and position the cursor at home * position. * * CUP (Cursor position) * Sequence: ESC [ H * Effect: moves the cursor to upper left corner * * ED (Erase display) * Sequence: ESC [ 2 J * Effect: clear the whole screen * */
/* * squid_ldap_auth: authentication via ldap for squid proxy server * * Authors: * Henrik Nordstrom * hno@squid-cache.org * * Glen Newton * glen.newton@nrc.ca * Advanced Services * CISTI * National Research Council * * with contributions from others mentioned in the Changes section below * * Usage: squid_ldap_auth -b basedn [-s searchscope] * [-f searchfilter] [-D binddn -w bindpasswd] * [-u attr] [-h host] [-p port] [-P] [-R] [ldap_server_name[:port]]... * * Dependencies: You need to get the OpenLDAP libraries * from http://www.openldap.org or another compatible LDAP C-API * implementation. * * If you want to make a TLS enabled connection you will also need the * OpenSSL libraries linked into openldap. See http://www.openssl.org/ * * License: squid_ldap_auth is free software; you can redistribute it * and/or modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2, * or (at your option) any later version. * * Changes: * 2005-01-07: Henrik Nordstrom <hno@squid-cache.org> * - Added some sanity checks on login names to avoid * users bypassing equality checks by exploring the * overly helpful match capabilities of LDAP * 2004-07-17: Henrik Nordstrom <hno@squid-cache.org> * - Corrected non-persistent mode to only issue one * ldap_bind per connection. * - -U option to compare the users password rather * than binding. * 2004-03-01: Henrik Nordstrom <hno@squid-cache.org> * - corrected building of search filters to escape * unsafe input * - -d option for "debug" like s
: * 2005-01-07: Henrik Nordstrom <hno@squid-cache.org> * - Added some sanity checks on login names to avoid * users bypassing equality checks by exploring the * overly helpful match capabilities of LDAP * 2004-07-17: Henrik Nordstrom <hno@squid-cache.org> * - Corrected non-persistent mode to only issue one * ldap_bind per connection. * - -U option to compare the users password rather * than binding. * 2004-03-01: Henrik Nordstrom <hno@squid-cache.org> * - corrected building of search filters to escape * unsafe input * - -d option for "debug" like squid_ldap_group * 2004-01-05: Henrik Nordstrom <hno@squid-cache.org> * - Corrected TLS mode * 2003-03-01: David J N Begley * - Support for Netscape API method of ldap over SSL * connections * - Timeout option for better recovery when using * multiple LDAP servers * 2003-03-01: Christoph Lechleitner <lech@ibcl.at> * - Added -W option to read bindpasswd from file * 2003-03-01: Juerg Michel * - Added support for ldap URI via the -H option * (requires OpenLDAP) * 2001-12-12: Michael Cunningham <m.cunningham@xpedite.com> * - Added TLS support and partial ldap version 3 support. * 2001-10-04: Henrik Nordstrom <hno@squid-cache.org> * - Be consistent with the other helpers in how * spaces are managed. If there is space characters * then these are assumed to be part of the password
* 2003-03-01: Christoph Lechleitner <lech@ibcl.at> * - Added -W option to read bindpasswd from file * 2003-03-01: Juerg Michel * - Added support for ldap URI via the -H option * (requires OpenLDAP) * 2001-12-12: Michael Cunningham <m.cunningham@xpedite.com> * - Added TLS support and partial ldap version 3 support. * 2001-10-04: Henrik Nordstrom <hno@squid-cache.org> * - Be consistent with the other helpers in how * spaces are managed. If there is space characters * then these are assumed to be part of the password * 2001-09-05: Henrik Nordstrom <hno@squid-cache.org> * - Added ability to specify another default LDAP port to * connect to. Persistent connections moved to -P * 2001-05-02: Henrik Nordstrom <hno@squid-cache.org> * - Support newer OpenLDAP 2.x libraries using the * revised Internet Draft API which unfortunately * is not backwards compatible with RFC1823.. * 2001-04-15: Henrik Nordstrom <hno@squid-cache.org> * - Added command line option for basedn * - Added the ability to search for the user DN * 2001-04-16: Henrik Nordstrom <hno@squid-cache.org> * - Added -D binddn -w bindpasswd. * 2001-04-17: Henrik Nordstrom <hno@squid-cache.org> * - Added -R to disable referrals * - Added -a to control alias dereferencing * 2001-04-17: Henrik N
using the * revised Internet Draft API which unfortunately * is not backwards compatible with RFC1823.. * 2001-04-15: Henrik Nordstrom <hno@squid-cache.org> * - Added command line option for basedn * - Added the ability to search for the user DN * 2001-04-16: Henrik Nordstrom <hno@squid-cache.org> * - Added -D binddn -w bindpasswd. * 2001-04-17: Henrik Nordstrom <hno@squid-cache.org> * - Added -R to disable referrals * - Added -a to control alias dereferencing * 2001-04-17: Henrik Nordstrom <hno@squid-cache.org> * - Added -u, DN username attribute name * 2001-04-18: Henrik Nordstrom <hno@squid-cache.org> * - Allow full filter specifications in -f */
/* stb.h - v2.31 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h no warranty is offered or implied; use this code at your own risk This is a single header file with a bunch of useful utilities for getting stuff done in C/C++. Documentation: http://nothings.org/stb/stb_h.html Unit tests: http://nothings.org/stb/stb.c ============================================================================ You MUST #define STB_DEFINE in EXACTLY _one_ C or C++ file that includes this header, BEFORE the include, like this: #define STB_DEFINE #include "stb.h" All other files should just #include "stb.h" without the #define. ============================================================================ Version History 2.31 stb_ucharcmp 2.30 MinGW fix 2.29 attempt to fix use of swprintf() 2.28 various new functionality 2.27 test _WIN32 not WIN32 in STB_THREADS 2.26 various warning & bugfixes 2.25 various warning & bugfixes 2.24 various warning & bugfixes 2.23 fix 2.22 2.22 64-bit fixes from '!='; fix stb_sdict_copy() to have preferred name 2.21 utf-8 decoder rejects "overlong" encodings; attempted 64-bit improvements 2.20 fix to hash "copy" function--reported by someone with handle "!=" 2.19 ??? 2.18 stb_readdir_subdirs_mask 2.17 stb_cfg_dir 2.16 fix stb_bgio_, add stb_bgio_stat(); begin a streaming wrapper 2.15 upgraded hash table template to allow: - aggregate keys (explicit comparison func for EMPTY and DEL keys) - "static" implementations (so they can be culled if unused) 2.14 stb_mprintf 2
3 fix 2.22 2.22 64-bit fixes from '!='; fix stb_sdict_copy() to have preferred name 2.21 utf-8 decoder rejects "overlong" encodings; attempted 64-bit improvements 2.20 fix to hash "copy" function--reported by someone with handle "!=" 2.19 ??? 2.18 stb_readdir_subdirs_mask 2.17 stb_cfg_dir 2.16 fix stb_bgio_, add stb_bgio_stat(); begin a streaming wrapper 2.15 upgraded hash table template to allow: - aggregate keys (explicit comparison func for EMPTY and DEL keys) - "static" implementations (so they can be culled if unused) 2.14 stb_mprintf 2.13 reduce identifiable strings in STB_NO_STB_STRINGS 2.12 fix STB_ONLY -- lots of uint32s, TRUE/FALSE things had crept in 2.11 fix bug in stb_dirtree_get() which caused "c://path" sorts of stuff 2.10 STB_F(), STB_I() inline constants (also KI,KU,KF,KD) 2.09 stb_box_face_vertex_axis_side 2.08 bugfix stb_trimwhite() 2.07 colored printing in windows (why are we in 1985?) 2.06 comparison functions are now functions-that-return-functions and accept a struct-offset as a parameter (not thread-safe) 2.05 compile and pass tests under Linux (but no threads); thread cleanup 2.04 stb_cubic_bezier_1d, smoothstep, avoid dependency on registry 2.03 ? 2.02 remove integrated documentation 2.01 integrate various fixes; stb_force_uniprocessor 2.00 revised stb_dupe to use multiple hashes 1.99 stb_charcmp 1.98 stb_
KD) 2.09 stb_box_face_vertex_axis_side 2.08 bugfix stb_trimwhite() 2.07 colored printing in windows (why are we in 1985?) 2.06 comparison functions are now functions-that-return-functions and accept a struct-offset as a parameter (not thread-safe) 2.05 compile and pass tests under Linux (but no threads); thread cleanup 2.04 stb_cubic_bezier_1d, smoothstep, avoid dependency on registry 2.03 ? 2.02 remove integrated documentation 2.01 integrate various fixes; stb_force_uniprocessor 2.00 revised stb_dupe to use multiple hashes 1.99 stb_charcmp 1.98 stb_arr_deleten, stb_arr_insertn 1.97 fix stb_newell_normal() 1.96 stb_hash_number() 1.95 hack stb__rec_max; clean up recursion code to use new functions 1.94 stb_dirtree; rename stb_extra to stb_ptrmap 1.93 stb_sem_new() API cleanup (no blockflag-starts blocked; use 'extra') 1.92 stb_threadqueue--multi reader/writer queue, fixed size or resizeable 1.91 stb_bgio_* for reading disk asynchronously 1.90 stb_mutex uses CRITICAL_REGION; new stb_sync primitive for thread joining; workqueue supports stb_sync instead of stb_semaphore 1.89 support ';' in constant-string wildcards; stb_mutex wrapper (can implement with EnterCriticalRegion eventually) 1.88 portable threading API (only for win32 so far); worker thread queue 1.87 fix wildcard handling in stb_readdir_recursive 1.86 support ';' in wildcards 1.85 make stb_regex work with non-constant strings; beginnings of stb_introspect() 1
cleanup (no blockflag-starts blocked; use 'extra') 1.92 stb_threadqueue--multi reader/writer queue, fixed size or resizeable 1.91 stb_bgio_* for reading disk asynchronously 1.90 stb_mutex uses CRITICAL_REGION; new stb_sync primitive for thread joining; workqueue supports stb_sync instead of stb_semaphore 1.89 support ';' in constant-string wildcards; stb_mutex wrapper (can implement with EnterCriticalRegion eventually) 1.88 portable threading API (only for win32 so far); worker thread queue 1.87 fix wildcard handling in stb_readdir_recursive 1.86 support ';' in wildcards 1.85 make stb_regex work with non-constant strings; beginnings of stb_introspect() 1.84 (forgot to make notes) 1.83 whoops, stb_keep_if_different wasn't deleting the temp file 1.82 bring back stb_compress from stb_file.h for cmirror 1.81 various bugfixes, STB_FASTMALLOC_INIT inits FASTMALLOC in release 1.80 stb_readdir returns utf8; write own utf8-utf16 because lib was wrong 1.79 stb_write 1.78 calloc() support for malloc wrapper, STB_FASTMALLOC 1.77 STB_FASTMALLOC 1.76 STB_STUA - Lua-like language; (stb_image, stb_csample, stb_bilinear) 1.75 alloc/free array of blocks; stb_hheap bug; a few stb_ps_ funcs; hash*getkey, hash*copy; stb_bitset; stb_strnicmp; bugfix stb_bst 1.74 stb_replaceinplace; use stdlib C function to convert utf8 to UTF-16 1.73 fix performance bug & leak in stb_ischar (C++ port lost a'static') 1.72 remove stb
16 because lib was wrong 1.79 stb_write 1.78 calloc() support for malloc wrapper, STB_FASTMALLOC 1.77 STB_FASTMALLOC 1.76 STB_STUA - Lua-like language; (stb_image, stb_csample, stb_bilinear) 1.75 alloc/free array of blocks; stb_hheap bug; a few stb_ps_ funcs; hash*getkey, hash*copy; stb_bitset; stb_strnicmp; bugfix stb_bst 1.74 stb_replaceinplace; use stdlib C function to convert utf8 to UTF-16 1.73 fix performance bug & leak in stb_ischar (C++ port lost a'static') 1.72 remove stb_block, stb_block_manager, stb_decompress (to stb_file.h) 1.71 stb_trimwhite, stb_tokens_nested, etc. 1.70 back out 1.69 because it might problemize mixed builds; stb_filec() 1.69 (stb_file returns 'char *' in C++) 1.68 add a special 'tree root' data type for stb_bst; stb_arr_end 1.67 full C++ port. (stb_block_manager) 1.66 stb_newell_normal 1.65 stb_lex_item_wild -- allow wildcard items which MUST match entirely 1.64 stb_data 1.63 stb_log_name 1.62 stb_define_sort; C++ cleanup 1.61 stb_hash_fast -- Paul Hsieh's hash function (beats Bob Jenkins'?) 1.60 stb_delete_directory_recursive 1.59 stb_readdir_recursive 1.58 stb_bst variant with parent pointer for O(1) iteration, not O(log N) 1.57 replace LCG random
'tree root' data type for stb_bst; stb_arr_end 1.67 full C++ port. (stb_block_manager) 1.66 stb_newell_normal 1.65 stb_lex_item_wild -- allow wildcard items which MUST match entirely 1.64 stb_data 1.63 stb_log_name 1.62 stb_define_sort; C++ cleanup 1.61 stb_hash_fast -- Paul Hsieh's hash function (beats Bob Jenkins'?) 1.60 stb_delete_directory_recursive 1.59 stb_readdir_recursive 1.58 stb_bst variant with parent pointer for O(1) iteration, not O(log N) 1.57 replace LCG random with Mersenne Twister (found a public domain one) 1.56 stb_perfect_hash, stb_ischar, stb_regex 1.55 new stb_bst API allows multiple BSTs per node (e.g. secondary keys) 1.54 bugfix: stb_define_hash, stb_wildmatch, regexp 1.53 stb_define_hash; recoded stb_extra, stb_sdict use it 1.52 stb_rand_define, stb_bst, stb_reverse 1.51 fix'stb_arr_setlen(NULL, 0)' 1.50 stb_wordwrap 1.49 minor improvements to enable the scripting language 1.48 better approach for stb_arr using stb_malloc; more invasive, clearer 1.47 stb_lex (lexes stb.h at 1.5ML/s on 3Ghz P4; 60/70% of optimal/flex) 1.46 stb_wrapper_*, STB_MALLOC_WRAPPER 1.45 lightly tested DFA acceleration of regexp searching 1.44 wildcard matching & searching; regexp matching & searching
coded stb_extra, stb_sdict use it 1.52 stb_rand_define, stb_bst, stb_reverse 1.51 fix'stb_arr_setlen(NULL, 0)' 1.50 stb_wordwrap 1.49 minor improvements to enable the scripting language 1.48 better approach for stb_arr using stb_malloc; more invasive, clearer 1.47 stb_lex (lexes stb.h at 1.5ML/s on 3Ghz P4; 60/70% of optimal/flex) 1.46 stb_wrapper_*, STB_MALLOC_WRAPPER 1.45 lightly tested DFA acceleration of regexp searching 1.44 wildcard matching & searching; regexp matching & searching 1.43 stb_temp 1.42 allow stb_arr to use stb_malloc/realloc; note this is global 1.41 make it compile in C++; (disable stb_arr in C++) 1.40 stb_dupe tweak; stb_swap; stb_substr 1.39 stb_dupe; improve stb_file_max to be less stupid 1.38 stb_sha1_file: generate sha1 for file, even > 4GB 1.37 stb_file_max; partial support for utf8 filenames in Windows 1.36 remove STB__NO_PREFIX - poor interaction with IDE, not worth it streamline stb_arr to make it separately publishable 1.35 bugfixes for stb_sdict, stb_malloc(0), stristr 1.34 (streaming interfaces for stb_compress) 1.33 stb_alloc; bug in stb_getopt; remove stb_overflow 1.32 (stb_compress returns, smaller&faster; encode window & 64-bit len) 1.31 stb_prefix_count 1.30 (STB__NO_PREFIX - remove stb
upid 1.38 stb_sha1_file: generate sha1 for file, even > 4GB 1.37 stb_file_max; partial support for utf8 filenames in Windows 1.36 remove STB__NO_PREFIX - poor interaction with IDE, not worth it streamline stb_arr to make it separately publishable 1.35 bugfixes for stb_sdict, stb_malloc(0), stristr 1.34 (streaming interfaces for stb_compress) 1.33 stb_alloc; bug in stb_getopt; remove stb_overflow 1.32 (stb_compress returns, smaller&faster; encode window & 64-bit len) 1.31 stb_prefix_count 1.30 (STB__NO_PREFIX - remove stb_ prefixes for personal projects) 1.29 stb_fput_varlen64, etc. 1.28 stb_sha1 1.27 ? 1.26 stb_extra 1.25 ? 1.24 stb_copyfile 1.23 stb_readdir 1.22 ? 1.21 ? 1.20 ? 1.19 ? 1.18 ? 1.17 ? 1.16 ? 1.15 stb_fixpath, stb_splitpath, stb_strchr2 1.14 stb_arr 1.13 ?stb, stb_log, stb_fatal 1.12 ?stb_hash2 1.11 miniML 1.10 stb_crc32, stb_adler32 1.09 stb_sdict 1.08 stb_bitreverse, stb_ispow2, stb_big32 stb_fopen, stb_fput_varlen, stb_fput_ranged stb_fcmp, stb_feq 1.07
? 1.19 ? 1.18 ? 1.17 ? 1.16 ? 1.15 stb_fixpath, stb_splitpath, stb_strchr2 1.14 stb_arr 1.13 ?stb, stb_log, stb_fatal 1.12 ?stb_hash2 1.11 miniML 1.10 stb_crc32, stb_adler32 1.09 stb_sdict 1.08 stb_bitreverse, stb_ispow2, stb_big32 stb_fopen, stb_fput_varlen, stb_fput_ranged stb_fcmp, stb_feq 1.07 (stb_encompress) 1.06 stb_compress 1.05 stb_tokens, (stb_hheap) 1.04 stb_rand 1.03 ?(s-strings) 1.02 ?stb_filelen, stb_tokens 1.01 stb_tolower 1.00 stb_hash, stb_intcmp stb_file, stb_stringfile, stb_fgets stb_prefix, stb_strlower, stb_strtok stb_image (stb_array), (stb_arena) Parenthesized items have since been removed. LICENSE See end of file for license information. CREDITS Written by Sean Barrett. Fixes: Philipp Wiesemann Robert Nix r-lyeh blackpawn github:Mojofreem Ryan Whitworth Vincent Isambart Mike Sartain Eugene Opalev Tim Sjostrand github:infatum Dave Butler (Croepha) */
stb_file, stb_stringfile, stb_fgets stb_prefix, stb_strlower, stb_strtok stb_image (stb_array), (stb_arena) Parenthesized items have since been removed. LICENSE See end of file for license information. CREDITS Written by Sean Barrett. Fixes: Philipp Wiesemann Robert Nix r-lyeh blackpawn github:Mojofreem Ryan Whitworth Vincent Isambart Mike Sartain Eugene Opalev Tim Sjostrand github:infatum Dave Butler (Croepha) */
/* * "Optimize" a list of dependencies as spit out by gcc -MD * for the kernel build * =========================================================================== * * Author Kai Germaschewski * Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de> * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * * * Introduction: * * gcc produces a very nice and correct list of dependencies which * tells make when to remake a file. * * To use this list as-is however has the drawback that virtually * every file in the kernel includes autoconf.h. * * If the user re-runs make *config, autoconf.h will be * regenerated. make notices that and will rebuild every file which * includes autoconf.h, i.e. basically all files. This is extremely * annoying if the user just changed CONFIG_HIS_DRIVER from n to m. * * So we play the same trick that "mkdep" played before. We replace * the dependency on autoconf.h by a dependency on every config * option which is mentioned in any of the listed prerequisites. * * kconfig populates a tree in include/config/ with an empty file * for each config symbol and when the configuration is updated * the files representing changed config options are touched * which then let make pick up the changes and the files that use * the config symbols are rebuilt. * * So if the user changes his CONFIG_HIS_DRIVER option, only the objects * which depend on "include/config/his/driver.h" will be rebuilt, * so most likely only his driver ;-) * * The idea above dates, by the way, back to Michael E Chastain, AFAIK. * * So to get dependencies right, there are two issues: * o if any of the files the compiler read changed, we need to rebuild * o if the command line given to the compile the file changed, we * better rebuild as well. * * The former is handled by using
a tree in include/config/ with an empty file * for each config symbol and when the configuration is updated * the files representing changed config options are touched * which then let make pick up the changes and the files that use * the config symbols are rebuilt. * * So if the user changes his CONFIG_HIS_DRIVER option, only the objects * which depend on "include/config/his/driver.h" will be rebuilt, * so most likely only his driver ;-) * * The idea above dates, by the way, back to Michael E Chastain, AFAIK. * * So to get dependencies right, there are two issues: * o if any of the files the compiler read changed, we need to rebuild * o if the command line given to the compile the file changed, we * better rebuild as well. * * The former is handled by using the -MD output, the later by saving * the command line used to compile the old object and comparing it * to the one we would now use. * * Again, also this idea is pretty old and has been discussed on * kbuild-devel a long time ago. I don't have a sensibly working * internet connection right now, so I rather don't mention names * without double checking. * * This code here has been based partially based on mkdep.c, which * says the following about its history: * * Copyright abandoned, Michael Chastain, <mailto:mec@shout.net>. * This is a C version of syncdep.pl by Werner Almesberger. * * * It is invoked as * * fixdep <depfile> <target> <cmdline> * * and will read the dependency file <depfile> * * The transformed dependency snipped is written to stdout. * * It first generates a line * * cmd_<target> = <cmdline> * * and then basically copies the.<target>.d file to stdout, in the * process filtering out the dependency on autoconf.h and adding * dependencies on include/config/my/option.h for every * CONFIG_MY_OPTION encountered in any
based on mkdep.c, which * says the following about its history: * * Copyright abandoned, Michael Chastain, <mailto:mec@shout.net>. * This is a C version of syncdep.pl by Werner Almesberger. * * * It is invoked as * * fixdep <depfile> <target> <cmdline> * * and will read the dependency file <depfile> * * The transformed dependency snipped is written to stdout. * * It first generates a line * * cmd_<target> = <cmdline> * * and then basically copies the.<target>.d file to stdout, in the * process filtering out the dependency on autoconf.h and adding * dependencies on include/config/my/option.h for every * CONFIG_MY_OPTION encountered in any of the prerequisites. * * It will also filter out all the dependencies on *.ver. We need * to make sure that the generated version checksum are globally up * to date before even starting the recursive build, so it's too late * at this point anyway. * * We don't even try to really parse the header files, but * merely grep, i.e. if CONFIG_FOO is mentioned in a comment, it will * be picked up as well. It's not a problem with respect to * correctness, since that can only give too many dependencies, thus * we cannot miss a rebuild. Since people tend to not mention totally * unrelated CONFIG_ options all over the place, it's not an * efficiency problem either. * * (Note: it'd be easy to port over the complete mkdep state machine, * but I don't think the added complexity is worth it) * * This source is copied from linux kernel * (scripts/basic/fixdep.c). Tag 4.17-rc1, commit * 60cc43fc888428bb2f18f08997432d426a243338 */
picked up as well. It's not a problem with respect to * correctness, since that can only give too many dependencies, thus * we cannot miss a rebuild. Since people tend to not mention totally * unrelated CONFIG_ options all over the place, it's not an * efficiency problem either. * * (Note: it'd be easy to port over the complete mkdep state machine, * but I don't think the added complexity is worth it) * * This source is copied from linux kernel * (scripts/basic/fixdep.c). Tag 4.17-rc1, commit * 60cc43fc888428bb2f18f08997432d426a243338 */
{ "version": 2, "dgSpecHash": "KdnTNCuuKuaA89dCsEI2T0moAWS3HgnB7ErFdpaKY5xilKbJDPth0C8NucwUuz4+ckhHBX0fyGRiGpDMWJqkoA==", "success": true, "projectFilePath": "C:\\Users\\moham\\OneDrive\\Desktop\\StormFN-Launcher-main\\StormFN Launcher\\StormFN Launcher.csproj", "expectedPackageFiles": [ "C:\\Users\\moham\\.nuget\\packages\\costura.fody\\5.0.2\\costura.fody.5.0.2.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\fody\\6.3.0\\fody.6.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\5.0.0\\microsoft.bcl.asyncinterfaces.5.0.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.powershell.5.referenceassemblies\\1.1.0\\microsoft.powershell.5.referenceassemblies.1.1.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.ui.xaml\\2.5.0\\microsoft.ui.xaml.2.5.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.windows.sdk.contracts\\10.0.18362.2005\\microsoft.windows.sdk
upkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.powershell.5.referenceassemblies\\1.1.0\\microsoft.powershell.5.referenceassemblies.1.1.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.ui.xaml\\2.5.0\\microsoft.ui.xaml.2.5.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\microsoft.windows.sdk.contracts\\10.0.18362.2005\\microsoft.windows.sdk.contracts.10.0.18362.2005.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\modernwpfui\\0.9.3\\modernwpfui.0.9.3.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\netstandard.library\\1.6.1\\netstandard.library.1.6.1.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\restsharp\\106.11.7\\restsharp.106.11.7.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512", "C:\\Users\\
.1.6.1.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\restsharp\\106.11.7\\restsharp.106.11.7.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.3.0\\system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0
.3.0\\system.console.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.3.0\\system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\system.globalization.calendars.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.compression\\4.3.0\\system.io.compression.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\system.io.compression.zipfile.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget
512", "C:\\Users\\moham\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.compression\\4.3.0\\system.io.compression.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\system.io.compression.zipfile.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.memory\\4.5.4\\system.memory.4.5.4.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.net.http\\4.3.0\\system.net.http.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.net.sockets\\4.3.0\\system.net.sockets.4.3.0.n
\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.memory\\4.5.4\\system.memory.4.5.4.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.net.http\\4.3.0\\system.net.http.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.net.sockets\\4.3.0\\system.net.sockets.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.numerics.vectors\\4.5.0\\system.numerics.vectors.4.5.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime\\4.3
"C:\\Users\\moham\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.
\\system.runtime.extensions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.numerics.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.windowsruntime\\4.6.0\\system.runtime.windowsruntime.4.6.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.runtime.windowsruntime.ui.xaml\\4.6.0\\system.runtime.windowsruntime.ui.xaml.4.6.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.x5
windowsruntime.ui.xaml.4.6.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.0\\system.security.cryptography.x509certificates.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.encodings.web\\5.0.0\\system.text.encodings.web.5.0.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.json\\5.0.1\\system.text.json.5.0.1.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages
.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.encodings.web\\5.0.0\\system.text.encodings.web.5.0.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.json\\5.0.1\\system.text.json.5.0.1.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.valuetuple\\4.5.0\\system.valuetuple.4.5.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3
.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.valuetuple\\4.5.0\\system.valuetuple.4.5.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\windowsapicodepack-core\\1.1.1\\windowsapicodepack-core.1.1.1.nupkg.sha512", "C:\\Users\\moham\\.nuget\\packages\\windowsapicodepack-shell\\1.1.1\\windowsapicodepack-shell.1.1.1.nupkg.sha512" ], "logs": [] }
upkg.sha512" ], "logs": [] }
/** * Accessible Tabs - jQuery plugin for accessible, unobtrusive tabs * Build to seemlessly work with the CCS-Framework YAML (yaml.de) not depending on YAML though * @requires jQuery - tested with 1.7 and 1.4.2 but might as well work with older versions * * english article: http://blog.ginader.de/archives/2009/02/07/jQuery-Accessible-Tabs-How-to-make-tabs-REALLY-accessible.php * german article: http://blog.ginader.de/archives/2009/02/07/jQuery-Accessible-Tabs-Wie-man-Tabs-WIRKLICH-zugaenglich-macht.php * * code: http://github.com/ginader/Accessible-Tabs * please report issues at: http://github.com/ginader/Accessible-Tabs/issues * * Copyright (c) 2007 Dirk Ginader (ginader.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Version: 1.9.4 * * History: * * 1.0 initial release * * 1.1 added a lot of Accessibility enhancements * * * rewrite to use "fn.extend" structure * * * added check for existing ids on the content containers to use to proper anchors in the tabs * * 1.1.1 changed the headline markup. thanks to Mike Davies for the hint. * * 1.5 thanks to Dirk Jesse, Ansgar Hein, David Maciejewski and Mike West for commiting patches to this release * * * new option syncheights that syncs the heights of the tab contents when the SyncHeight plugin * * is available http://blog.ginader.de/dev/jquery/syncheight/index.php * * * fixed the hardcoded current class * * * new option tabsListClass to be applied to the generated list of tabs above the content so lists *
1.0 initial release * * 1.1 added a lot of Accessibility enhancements * * * rewrite to use "fn.extend" structure * * * added check for existing ids on the content containers to use to proper anchors in the tabs * * 1.1.1 changed the headline markup. thanks to Mike Davies for the hint. * * 1.5 thanks to Dirk Jesse, Ansgar Hein, David Maciejewski and Mike West for commiting patches to this release * * * new option syncheights that syncs the heights of the tab contents when the SyncHeight plugin * * is available http://blog.ginader.de/dev/jquery/syncheight/index.php * * * fixed the hardcoded current class * * * new option tabsListClass to be applied to the generated list of tabs above the content so lists * * inside the tabscontent can be styled differently * * * added clearfix and tabcounter that adds a class in the schema "tabamount{number amount of tabs}" * * to the ul containg the tabs so one can style the tabs to fit 100% into the width * * * new option "syncHeightMethodName" fixed issue: http://github.com/ginader/Accessible-Tabs/issues/2/find * * * new Method showAccessibleTab({index number of the tab to show starting with 0}) fixed issue: http://github.com/ginader/Accessible-Tabs/issues/3/find * * * added support for the Cursor Keys to come closer to the WAI ARIA Tab Panel Best Practices http://github.com/ginader/Accessible-Tabs/issues/1/find * * 1.6 * * * new option "saveState" to allow tabs remember their selected state using cookies requires the cookie plugin: http://plugins.jquery.com/project/Cookie * * * changed supported jquery version to 1.4.2 to make sure it's future compatible * * * new option "autoAnchor" which allows to add ID's to headlines in the tabs markup that allow direct linking into a tab i.e.: file.html#headlineID * * 1.7 * * * new option
new Method showAccessibleTab({index number of the tab to show starting with 0}) fixed issue: http://github.com/ginader/Accessible-Tabs/issues/3/find * * * added support for the Cursor Keys to come closer to the WAI ARIA Tab Panel Best Practices http://github.com/ginader/Accessible-Tabs/issues/1/find * * 1.6 * * * new option "saveState" to allow tabs remember their selected state using cookies requires the cookie plugin: http://plugins.jquery.com/project/Cookie * * * changed supported jquery version to 1.4.2 to make sure it's future compatible * * * new option "autoAnchor" which allows to add ID's to headlines in the tabs markup that allow direct linking into a tab i.e.: file.html#headlineID * * 1.7 * * * new option "pagination" that adds links to show the next/previous tab. This adds the following markup to each tab for you to style: <ul class="pagination"> <li class="previous"><a href="#{the-id-of-the-previous-tab}"><span>{the headline of the previous tab}</span></a></li> <li class="next"><a href="#{the-id-of-the-next-tab}"><span>{the headline of the previous tab}</span></a></li> </ul> * * 1.8 * * * new option "position" can be 'top' or 'bottom'. Defines where the tabs list is inserted. * * 1.8.1 * * * Bugfix for broken pagination in ie6 and 7: Selector and object access modified by Daniel Köntös (www.MilkmanMedia.de). Thanks to Carolin Moll for the report. * * 1.8.2 * * * Bugfix for issue described by Sunshine here: http://blog.ginader.de/archives/2009/02/07/jQuery-Accessible-Tabs-How-to-make-tabs-REALLY-accessible.php#c916 * * 1.8.3 * * * Bugfix by Michael Schulze: Only change current
headline of the previous tab}</span></a></li> </ul> * * 1.8 * * * new option "position" can be 'top' or 'bottom'. Defines where the tabs list is inserted. * * 1.8.1 * * * Bugfix for broken pagination in ie6 and 7: Selector and object access modified by Daniel Köntös (www.MilkmanMedia.de). Thanks to Carolin Moll for the report. * * 1.8.2 * * * Bugfix for issue described by Sunshine here: http://blog.ginader.de/archives/2009/02/07/jQuery-Accessible-Tabs-How-to-make-tabs-REALLY-accessible.php#c916 * * 1.8.3 * * * Bugfix by Michael Schulze: Only change current class in tab navigation and not in all unordered lists inside the tabs. * * 1.9 * * * new method showAccessibleTabSelector({valid jQuery selector of the tab to show}) that allows the opening of tabs \ * * * by jQuery Selector instead of the index in showAccessibleTab() fixing issue https://github.com/ginader/Accessible-Tabs/issues/15 * * 1.9.1 by Michael Schulze: * * * firstNavItemClass and lastNavItemClass to define a custom classname on the first and last tab * * * wrapInnerNavLinks: inner wrap for a-tags in tab navigation. * * 1.9.2 * * * Bugfix by Dirk Jesse: fixing an issue that happened when passing multiple selectors to the init call instead of one * * * Bugfix that fixes a reset of the tabs counter when accessibleTabs() was called more than once on a page * * 1.9.3 * * * Bugfix by Norm: before, when cssClassAvailable was true, all of the tabhead elements had to have classes or they wouldn't get pulled out into tabs. * * * This commit fixes this assumption, as I only want classes on some elements https://github.com/ginader/Accessible-Tabs/pull/25 * * 1.9.4 Bugfix by Patrick
* * firstNavItemClass and lastNavItemClass to define a custom classname on the first and last tab * * * wrapInnerNavLinks: inner wrap for a-tags in tab navigation. * * 1.9.2 * * * Bugfix by Dirk Jesse: fixing an issue that happened when passing multiple selectors to the init call instead of one * * * Bugfix that fixes a reset of the tabs counter when accessibleTabs() was called more than once on a page * * 1.9.3 * * * Bugfix by Norm: before, when cssClassAvailable was true, all of the tabhead elements had to have classes or they wouldn't get pulled out into tabs. * * * This commit fixes this assumption, as I only want classes on some elements https://github.com/ginader/Accessible-Tabs/pull/25 * * 1.9.4 Bugfix by Patrick Bruckner to fix issue with Internet Explorer using jQuery 1.7 https://github.com/ginader/Accessible-Tabs/issues/26 */
# OpenAL config file. Options that are not under a block or are under the # [general] block are for general, non-backend-specific options. Blocks may # appear multiple times, and duplicated options will take the last value # specified. # The system-wide settings can be put in /etc/openal/alsoft.conf and user- # specific override settings in ~/.alsoftrc. # For Windows, these settings should go into %AppData%\alsoft.ini # Option and block names are case-insenstive. The supplied values are only # hints and may not be honored (though generally it'll try to get as close as # possible). Note: options that are left unset may default to app- or system- # specified values. These are the current available settings: ## channels: # Sets the output channel configuration. If left unspecified, one will try to # be detected from the system, and defaulting to stereo. The available values # are: mono, stereo, quad, surround51, surround61, surround71 #channels = stereo ## sample-type: # Sets the output sample type. Currently, all mixing is done with 32-bit float # and converted to the output sample type as needed. Available values are: # int8 - signed 8-bit int # uint8 - unsigned 8-bit int # int16 - signed 16-bit int # uint16 - unsigned 16-bit int # int32 - signed 32-bit int # uint32 - unsigned 32-bit int # float32 - 32-bit float #sample-type = float32 ## hrtf: # Enables HRTF filters. These filters provide for better sound spatialization # while using headphones. The default filter will only work when output is # 44100hz stereo. While HRTF is active, the cf_level option is disabled. # Default is disabled since stereo speaker output quality may suffer. #hrtf = false ## hrtf_tables #
- signed 8-bit int # uint8 - unsigned 8-bit int # int16 - signed 16-bit int # uint16 - unsigned 16-bit int # int32 - signed 32-bit int # uint32 - unsigned 32-bit int # float32 - 32-bit float #sample-type = float32 ## hrtf: # Enables HRTF filters. These filters provide for better sound spatialization # while using headphones. The default filter will only work when output is # 44100hz stereo. While HRTF is active, the cf_level option is disabled. # Default is disabled since stereo speaker output quality may suffer. #hrtf = false ## hrtf_tables # Specifies a comma-separated list of files containing HRTF data sets. The # listed data sets can be used in place of or in addiiton to the the built-in # set. The format of the files are described in hrtf.txt. #hrtf_tables = ## cf_level: # Sets the crossfeed level for stereo output. Valid values are: # 0 - No crossfeed # 1 - Low crossfeed # 2 - Middle crossfeed # 3 - High crossfeed (virtual speakers are closer to itself) # 4 - Low easy crossfeed # 5 - Middle easy crossfeed # 6 - High easy crossfeed # Users of headphones may want to try various settings. Has no effect on non- # stereo modes. #cf_level = 0 ## frequency: # Sets the output frequency. #frequency = 44100 ## resampler: # Selects the resampler used when mixing sources. Valid values are: # point - nearest sample, no interpolation # linear - extrapolates samples using a linear slope between samples # cubic - extrapolates samples using a Catmull-Rom spline # Specifying other values will result in using the default (linear). #
1 - Low crossfeed # 2 - Middle crossfeed # 3 - High crossfeed (virtual speakers are closer to itself) # 4 - Low easy crossfeed # 5 - Middle easy crossfeed # 6 - High easy crossfeed # Users of headphones may want to try various settings. Has no effect on non- # stereo modes. #cf_level = 0 ## frequency: # Sets the output frequency. #frequency = 44100 ## resampler: # Selects the resampler used when mixing sources. Valid values are: # point - nearest sample, no interpolation # linear - extrapolates samples using a linear slope between samples # cubic - extrapolates samples using a Catmull-Rom spline # Specifying other values will result in using the default (linear). #resampler = linear ## rt-prio: # Sets real-time priority for the mixing thread. Not all drivers may use this # (eg. PortAudio) as they already control the priority of the mixing thread. # 0 and negative values will disable it. Note that this may constitute a # security risk since a real-time priority thread can indefinitely block # normal-priority threads if it fails to wait. As such, the default is # disabled. #rt-prio = 0 ## period_size: # Sets the update period size, in frames. This is the number of frames needed # for each mixing update. Acceptable values range between 64 and 8192. #period_size = 1024 ## periods: # Sets the number of update periods. Higher values create a larger mix ahead, # which helps protect against skips when the CPU is under load, but increases # the delay between a sound getting mixed and being heard. Acceptable values # range between 2 and 16. #periods = 4 ## sources: # Sets the maximum number of allocatable sources. Lower values may help for # systems with apps that try to play more sounds than the CPU can handle. #sources = 2
, the default is # disabled. #rt-prio = 0 ## period_size: # Sets the update period size, in frames. This is the number of frames needed # for each mixing update. Acceptable values range between 64 and 8192. #period_size = 1024 ## periods: # Sets the number of update periods. Higher values create a larger mix ahead, # which helps protect against skips when the CPU is under load, but increases # the delay between a sound getting mixed and being heard. Acceptable values # range between 2 and 16. #periods = 4 ## sources: # Sets the maximum number of allocatable sources. Lower values may help for # systems with apps that try to play more sounds than the CPU can handle. #sources = 256 ## stereodup: # Sets whether to duplicate stereo sounds behind the listener. This provides a # "fuller" playback quality for surround sound output modes, although each # individual speaker will have a slight reduction in volume to compensate for # the extra output speakers. True, yes, on, and non-0 values will duplicate # stereo sources. 0 and anything else will cause stereo sounds to only play in # front. This only has an effect when a suitable output format is used (ie. # those that contain side and/or rear speakers). #stereodup = true ## drivers: # Sets the backend driver list order, comma-seperated. Unknown backends and # duplicated names are ignored. Unlisted backends won't be considered for use # unless the list is ended with a comma (eg. 'oss,' will list OSS first # followed by all other available backends, while 'oss' will list OSS only). # Backends prepended with - won't be available for use (eg. '-oss,' will allow # all available backends except OSS). An empty list means the default. #drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,
sounds to only play in # front. This only has an effect when a suitable output format is used (ie. # those that contain side and/or rear speakers). #stereodup = true ## drivers: # Sets the backend driver list order, comma-seperated. Unknown backends and # duplicated names are ignored. Unlisted backends won't be considered for use # unless the list is ended with a comma (eg. 'oss,' will list OSS first # followed by all other available backends, while 'oss' will list OSS only). # Backends prepended with - won't be available for use (eg. '-oss,' will allow # all available backends except OSS). An empty list means the default. #drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,opensl,null,wave ## excludefx: # Sets which effects to exclude, preventing apps from using them. This can # help for apps that try to use effects which are too CPU intensive for the # system to handle. Available effects are: eaxreverb,reverb,echo,modulator, # dedicated #excludefx = ## slots: # Sets the maximum number of Auxiliary Effect Slots an app can create. A slot # can use a non-negligible amount of CPU time if an effect is set on it even # if no sources are feeding it, so this may help when apps use more than the # system can handle. #slots = 4 ## sends: # Sets the number of auxiliary sends per source. When not specified (default), # it allows the app to request how many it wants. The maximum value currently # possible is 4. #sends = ## layout: # Sets the virtual speaker layout. Values are specified in degrees, where 0 is # straight in front, negative goes left, and positive goes right. Unspecified # speakers will remain at their default positions (which are dependant on the # output format). Available speakers are back-left(bl),
Auxiliary Effect Slots an app can create. A slot # can use a non-negligible amount of CPU time if an effect is set on it even # if no sources are feeding it, so this may help when apps use more than the # system can handle. #slots = 4 ## sends: # Sets the number of auxiliary sends per source. When not specified (default), # it allows the app to request how many it wants. The maximum value currently # possible is 4. #sends = ## layout: # Sets the virtual speaker layout. Values are specified in degrees, where 0 is # straight in front, negative goes left, and positive goes right. Unspecified # speakers will remain at their default positions (which are dependant on the # output format). Available speakers are back-left(bl), side-left(sl), front- # left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br), # and back-center(bc). #layout = ## layout_*: # Channel-specific layouts may be specified to override the layout option. The # same speakers as the layout option are available, and the default settings # are shown below. #layout_stereo = fl=-90, fr=90 #layout_quad = fl=-45, fr=45, bl=-135, br=135 #layout_surround51 = fl=-30, fr=30, fc=0, bl=-110, br=110 #layout_surround61 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180 #layout_surround71 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150 ## default-reverb: # A reverb preset that applies by default to all sources on send 0 # (applications that set their own slots on send
#layout_stereo = fl=-90, fr=90 #layout_quad = fl=-45, fr=45, bl=-135, br=135 #layout_surround51 = fl=-30, fr=30, fc=0, bl=-110, br=110 #layout_surround61 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180 #layout_surround71 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150 ## default-reverb: # A reverb preset that applies by default to all sources on send 0 # (applications that set their own slots on send 0 will override this). # Available presets are: None, Generic, PaddedCell, Room, Bathroom, # Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar, # CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains, # Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic. #default-reverb = ## trap-alc-error: # Generates a SIGTRAP signal when an ALC device error is generated, on systems # that support it. This helps when debugging, while trying to find the cause # of a device error. On Windows, a breakpoint exception is generated. #trap-alc-error = false ## trap-al-error: # Generates a SIGTRAP signal when an AL context error is generated, on systems # that support it. This helps when debugging, while trying to find the cause # of a context error. On Windows, a breakpoint exception is generated. #trap-al-error = false ## ## Reverb effect stuff (includes EAX reverb) ##
ewerPipe, Underwater, Drugged, Dizzy, Psychotic. #default-reverb = ## trap-alc-error: # Generates a SIGTRAP signal when an ALC device error is generated, on systems # that support it. This helps when debugging, while trying to find the cause # of a device error. On Windows, a breakpoint exception is generated. #trap-alc-error = false ## trap-al-error: # Generates a SIGTRAP signal when an AL context error is generated, on systems # that support it. This helps when debugging, while trying to find the cause # of a context error. On Windows, a breakpoint exception is generated. #trap-al-error = false ## ## Reverb effect stuff (includes EAX reverb) ##
# # -*- coding: utf-8 -*- # # @Time : 2020/11/9 下午9:00 # # @Author : 司云中 # # @File : redis_lock.py # # @Software: Pycharm # # # import uuid # import math # import time # from threading import Thread # # import redis # from redis import WatchError # # count=50 # # def acquire_lock_with_timeout(conn, lock_name, acquire_timeout=4, lock_timeout=2): # """ # 基于 Redis 实现的分布式锁 # # :param conn: Redis 连接 # :param lock_name: 锁的名称 # :param acquire_timeout: 获取锁的超时时间,默认 3 秒 # :param lock_timeout: 锁的超时时间,默认 2 秒 # :return: # """ # # identifier = str(uuid.uuid4()) # lockname = f'lock:{lock_name}' # lock_timeout = int(math.ceil(lock_timeout)) # # end = time.time() + acquire_timeout # # while time.time() < end: # # 如果不存在这个锁则加锁并设置过期时间,避免死锁 # if conn.set(lockname, identifier, ex=lock_timeout, nx=True): # # print("线程:{}--拿到了锁".format(thread)) # # if count <= 0: # # print("没抢到票") # # return False # # count -= 1 # # print("线程:{}--抢到一张票,还剩{}张票".format(thread, count)) # # cur = redis_client.get('rob-lock-1') # # if int(redis_client.get('rob-lock-1').decode()) >= 1: # redis_client.decr('rob-lock-1') # # print("线程:{}--抢到一张票
# 如果不存在这个锁则加锁并设置过期时间,避免死锁 # if conn.set(lockname, identifier, ex=lock_timeout, nx=True): # # print("线程:{}--拿到了锁".format(thread)) # # if count <= 0: # # print("没抢到票") # # return False # # count -= 1 # # print("线程:{}--抢到一张票,还剩{}张票".format(thread, count)) # # cur = redis_client.get('rob-lock-1') # # if int(redis_client.get('rob-lock-1').decode()) >= 1: # redis_client.decr('rob-lock-1') # # print("线程:{}--抢到一张票,还剩{}张票".format(thread, int(redis_client.get('rob-lock-1').decode()) - 1)) # return identifier # 返回唯一标识 # return False # # return False # # # def release_lock(conn, lockname, identifier): # """ # 释放锁 # # :param conn: Redis 连接 # :param lockname: 锁的名称 # :param identifier: 锁的标识 # :return: # """ # # python中redis事务是通过pipeline的封装实现的 # with conn.pipeline() as pipe: # lockname = 'lock:' + lockname # # while True: # try: # # watch 锁,监听该锁, multi 后如果该 key 被其他客户端改变, 事务操作会抛出 WatchError 异常,使得当前客户端不会误删了别人的锁 # pipe.watch(lockname) # ident = pipe.get(lockname) # if ident and ident.decode('utf-8') == identifier: # # 事务开始 # pipe.multi() # pipe.delete(lockname) # pipe.execute() # return True
name: 锁的名称 # :param identifier: 锁的标识 # :return: # """ # # python中redis事务是通过pipeline的封装实现的 # with conn.pipeline() as pipe: # lockname = 'lock:' + lockname # # while True: # try: # # watch 锁,监听该锁, multi 后如果该 key 被其他客户端改变, 事务操作会抛出 WatchError 异常,使得当前客户端不会误删了别人的锁 # pipe.watch(lockname) # ident = pipe.get(lockname) # if ident and ident.decode('utf-8') == identifier: # # 事务开始 # pipe.multi() # pipe.delete(lockname) # pipe.execute() # return True # # pipe.unwatch() # break # except WatchError: # pass # return False # # # redis_client = redis.Redis(host="127.0.0.1", # port=6381, # db=10) # def seckill(i): # # # print("线程:{}--想获取锁".format(i)) # identifier=acquire_lock_with_timeout(redis_client,'resource') # # if not identifier: # # print(f"线程:{i}没抢到票") # # global count # # if count < 1: # # print("线程:{}--没抢到,票抢完了".format(i)) # # return # # count -= 1 # # print("线程:{}--抢到一张票,还剩{}张票".format(i, count)) # release_lock(redis_client,'resource', identifier) # 释放这把锁 # # # for i in range(1000): # t = Thread(target=seckill,args=(i,)) # t.start() #
)) # identifier=acquire_lock_with_timeout(redis_client,'resource') # # if not identifier: # # print(f"线程:{i}没抢到票") # # global count # # if count < 1: # # print("线程:{}--没抢到,票抢完了".format(i)) # # return # # count -= 1 # # print("线程:{}--抢到一张票,还剩{}张票".format(i, count)) # release_lock(redis_client,'resource', identifier) # 释放这把锁 # # # for i in range(1000): # t = Thread(target=seckill,args=(i,)) # t.start() #
# # -*- coding: utf-8 -*- # # @Time : 2020/6/1 23:26 # # @Author : 司云中 # # @File : seller_serializers.py # # @Software: PyCharm # # from user_app.models import User # from django.db import transaction # from rest_framework import serializers # from rest_framework.validators import UniqueValidator # from rest_framework_jwt.compat import PasswordField # from rest_framework_jwt.settings import api_settings # # from user_app.model.seller_models import Shoppers, Store # from user_app.utils.validators import DRFPhoneValidator # from Emall.authentication import email_or_username, phone # from Emall.loggings import Logging # from django.utils.translation import gettext_lazy as _ # # from user_app.tasks import ocr # # common_logger = Logging.logger('django') # # shopper_logger = Logging.logger('shopper_') # # jwt_payload_handler = api_settings.JWT_PAYLOAD_HANDLER # jwt_encode_handler = api_settings.JWT_ENCODE_HANDLER # jwt_decode_handler = api_settings.JWT_DECODE_HANDLER # jwt_get_username_from_payload = api_settings.JWT_PAYLOAD_GET_USERNAME_HANDLER # # # class SellerRegisterSerializer(serializers.ModelSerializer): # username = serializers.CharField(source='user.username', validators=[UniqueValidator(queryset=User.objects.all())]) # face = serializers.ImageField(max_length=50, allow_empty_file=False) # 身份证前照 # back = serializers.ImageField(max_length=50, allow_empty_file=False) # 身份正后照片 # code = serializers.CharField(max_length=6) # 验证码 # email = serializers.EmailField(required=False, source='user.email', # validators=[UniqueValidator(queryset=User.objects.all())], # ) # phone = serializers.
_get_username_from_payload = api_settings.JWT_PAYLOAD_GET_USERNAME_HANDLER # # # class SellerRegisterSerializer(serializers.ModelSerializer): # username = serializers.CharField(source='user.username', validators=[UniqueValidator(queryset=User.objects.all())]) # face = serializers.ImageField(max_length=50, allow_empty_file=False) # 身份证前照 # back = serializers.ImageField(max_length=50, allow_empty_file=False) # 身份正后照片 # code = serializers.CharField(max_length=6) # 验证码 # email = serializers.EmailField(required=False, source='user.email', # validators=[UniqueValidator(queryset=User.objects.all())], # ) # phone = serializers.CharField(validators=[DRFPhoneValidator(), UniqueValidator(queryset=Shoppers.shopper_.all())]) # sell_category = serializers.CharField() # 销售主类 # store_name = serializers.CharField(max_length=30, validators=[]) # 店铺名字 # province = serializers.CharField() # city = serializers.CharField() # # @property # def redis(self): # """获取redis实例""" # return self.context.get('redis') # # def validate_code(self, value): # """验证码校验""" # if len(value)!= 6: # raise serializers.ValidationError("验证码为6位数") # return value # # def check_code(self, phone, code): # return self.redis.check_code(phone, code) # # def validate(self, attrs): # """ # OCR识别身份正反 # 验证阶段验证身份信息是否正确或是否已被验证 # """ # # # 校验验证码 # if not self.redis.check_code(attrs.get('phone'), attrs.get('code')): # raise serializers.ValidationError('验证码错误') # #
self): # """获取redis实例""" # return self.context.get('redis') # # def validate_code(self, value): # """验证码校验""" # if len(value)!= 6: # raise serializers.ValidationError("验证码为6位数") # return value # # def check_code(self, phone, code): # return self.redis.check_code(phone, code) # # def validate(self, attrs): # """ # OCR识别身份正反 # 验证阶段验证身份信息是否正确或是否已被验证 # """ # # # 校验验证码 # if not self.redis.check_code(attrs.get('phone'), attrs.get('code')): # raise serializers.ValidationError('验证码错误') # # # 身份校验 # identify_instance_face = ocr.apply_async(args=(attrs.get('face'), 'face')) # 扔到任务队列中调度 # identify_instance_back = ocr.apply_async(args=(attrs.get('back'), 'face')) # is_success = identify_instance_face.get() and identify_instance_back.get() # 检查身份验证是否全部正确 # if is_success: # OCR_attrs = { # 'first_name': identify_instance_face.get_detail('actual_name'), # 'sex': identify_instance_face.get_detail('sex'), # 'birthday': identify_instance_face.get_detail('birth'), # 'nationality': identify_instance_face.get_detail('nationality') # } # if User.objects.filter(first_name=identify_instance_face.get_detail('actual_name')).count() == 1: # raise serializers.ValidationError('身份证已被认证过!') # else: # attrs.update(OCR_attrs) # return attrs # raise serializers.ValidationError('身份校验异常') # # @staticmethod # def create_user(validated
正确 # if is_success: # OCR_attrs = { # 'first_name': identify_instance_face.get_detail('actual_name'), # 'sex': identify_instance_face.get_detail('sex'), # 'birthday': identify_instance_face.get_detail('birth'), # 'nationality': identify_instance_face.get_detail('nationality') # } # if User.objects.filter(first_name=identify_instance_face.get_detail('actual_name')).count() == 1: # raise serializers.ValidationError('身份证已被认证过!') # else: # attrs.update(OCR_attrs) # return attrs # raise serializers.ValidationError('身份校验异常') # # @staticmethod # def create_user(validated_data): # """创建User用户""" # username = validated_data['user']['username'] # first_name = validated_data['first_name'] # email = validated_data.get('user').get('email', '') # user = User.objects.create(username=username, first_name=first_name, is_staff=True, email=email) # return user # # @staticmethod # def create_shopper(user, validated_data): # """创建shopper用户""" # sex = validated_data['sex'] # phone = validated_data['phone'] # head_image = validated_data.get('head_image', None) # sell_category = validated_data['sell_category'] # shopper = Shoppers.shopper_.create(user=user, sex=sex, phone=phone, head_image=head_image, # sell_category=sell_category) # return shopper # # @staticmethod # def create_store(user, validated_data): # """创建店铺""" # store_name = validated_data['store_name'] # province = validated_data['province'] # city = validated_data['city']
@staticmethod # def create_shopper(user, validated_data): # """创建shopper用户""" # sex = validated_data['sex'] # phone = validated_data['phone'] # head_image = validated_data.get('head_image', None) # sell_category = validated_data['sell_category'] # shopper = Shoppers.shopper_.create(user=user, sex=sex, phone=phone, head_image=head_image, # sell_category=sell_category) # return shopper # # @staticmethod # def create_store(user, validated_data): # """创建店铺""" # store_name = validated_data['store_name'] # province = validated_data['province'] # city = validated_data['city'] # store = Store.store_.create(shopper=user, store_name=store_name, province=province, city=city) # return store # # def create(self, validated_data): # """创建汇总""" # try: # with transaction.atomic(): # 开启事务 # user = self.create_user(validated_data) # self.create_shopper(user, validated_data) # self.create_store(user, validated_data) # except Exception as e: # shopper_logger.error(e) # return None # return user # # class Meta: # model = Shoppers # exclude = ['user', 'credit'] # # # class SellerJwtLoginSerializer(serializers.Serializer): # """商家注册序列化器""" # # LOGIN_KEY = 'login_key' # # LOGIN_WAY = ( # ('username', 'username'), # ('email', 'email'), # ('phone', 'phone') # ) # # def __init__(self): # """初始化""" # super().__init__() # self.fields[self.LOGIN_KEY] =
shopper(user, validated_data) # self.create_store(user, validated_data) # except Exception as e: # shopper_logger.error(e) # return None # return user # # class Meta: # model = Shoppers # exclude = ['user', 'credit'] # # # class SellerJwtLoginSerializer(serializers.Serializer): # """商家注册序列化器""" # # LOGIN_KEY = 'login_key' # # LOGIN_WAY = ( # ('username', 'username'), # ('email', 'email'), # ('phone', 'phone') # ) # # def __init__(self): # """初始化""" # super().__init__() # self.fields[self.LOGIN_KEY] = serializers.CharField(max_length=30, validators=[]) # self.fields['code'] = serializers.CharField(max_length=6, required=False) # 验证码 # self.fields['password'] = PasswordField(write_only=True, required=False) # self.fields['way'] = serializers.ChoiceField(choices=self.LOGIN_WAY) # # def validate(self, attrs): # """验证数据,生成token""" # # global user # # # 手机校验验证码 # if attrs.get('way') == 'phone' and not self.redis.check_code(attrs.get(self.LOGIN_KEY), attrs.get('code')): # raise serializers.ValidationError('验证码不存在或错误') # # credentials = { # attrs.get('way'): attrs.get(self.LOGIN_KEY), # 'code': attrs.get('code', 1), # 'password': attrs.get('password', 1), # 'way': attrs.get('way') # } # # if all(credentials.values()): # if credentials.get('way') == 'username': # user = email_or_username.authenticate(**credentials) # elif credentials.
# """验证数据,生成token""" # # global user # # # 手机校验验证码 # if attrs.get('way') == 'phone' and not self.redis.check_code(attrs.get(self.LOGIN_KEY), attrs.get('code')): # raise serializers.ValidationError('验证码不存在或错误') # # credentials = { # attrs.get('way'): attrs.get(self.LOGIN_KEY), # 'code': attrs.get('code', 1), # 'password': attrs.get('password', 1), # 'way': attrs.get('way') # } # # if all(credentials.values()): # if credentials.get('way') == 'username': # user = email_or_username.authenticate(**credentials) # elif credentials.get('way') == 'email': # user = email_or_username.authenticate(**credentials) # elif credentials.get('way') == 'phone': # user = phone.authenticate(**credentials) # if user: # if not user.is_active: # msg = _('User account is disabled.') # raise serializers.ValidationError(msg) # # # 编码形成jwt第二部分 # payload = jwt_payload_handler(user) # # return { # 'token': jwt_encode_handler(payload), # 加密生成token # 'user': user, # } # else: # msg = _('Unable to log in with provided credentials.') # raise serializers.ValidationError(msg) # else: # msg = _('Must include "{username_field}","code" and "way".') # msg = msg.format(username_field=self.LOGIN_KEY) # raise serializers.ValidationError(msg) # # @property # def redis(self): # """获取视图实例""" # return self.context.get('redis') # # def validate_code(self, value): # """验证码校验""" # if len(value)!=
# payload = jwt_payload_handler(user) # # return { # 'token': jwt_encode_handler(payload), # 加密生成token # 'user': user, # } # else: # msg = _('Unable to log in with provided credentials.') # raise serializers.ValidationError(msg) # else: # msg = _('Must include "{username_field}","code" and "way".') # msg = msg.format(username_field=self.LOGIN_KEY) # raise serializers.ValidationError(msg) # # @property # def redis(self): # """获取视图实例""" # return self.context.get('redis') # # def validate_code(self, value): # """验证码校验""" # if len(value)!= 6: # raise serializers.ValidationError("验证码为6位数") # return value
## ## straks.conf configuration file. Lines beginning with # are comments. ## # Network-related settings: # Run on the test network instead of the real straks network. #testnet=0 # Run a regression test network #regtest=0 # Connect via a SOCKS5 proxy #proxy=127.0.0.1:9050 # Bind to given address and always listen on it. Use [host]:port notation for IPv6 #bind=<addr> # Bind to given address and whitelist peers connecting to it. Use [host]:port notation for IPv6 #whitebind=<addr> ############################################################## ## Quick Primer on addnode vs connect ## ## Let's say for instance you use addnode=4.2.2.4 ## ## addnode will connect you to and tell you about the ## ## nodes connected to 4.2.2.4. In addition it will tell ## ## the other nodes connected to it that you exist so ## ## they can connect to you. ## ## connect will not do the above when you 'connect' to it. ## ## It will *only* connect you to 4.2.2.4 and no one else.## ## ## ## So if you're behind a firewall, or have other problems ## ## finding nodes, add some using 'addnode'. ## ## ## ## If you want to stay private, use 'connect' to only ## ## connect to "trusted" nodes. ## ## ## ## If you run multiple nodes on a LAN, there's no need for ## ## all of them to open lots of connections. Instead ## ## 'connect' them all to one node that is port forwarded ## ## and has lots of connections. ## ## Thanks goes to [Noodle] on Freenode. ## ############################################################## # Use as many addnode= settings as you like to connect to specific peers #addnode=69.164.218.197 #addnode=10.0.
## So if you're behind a firewall, or have other problems ## ## finding nodes, add some using 'addnode'. ## ## ## ## If you want to stay private, use 'connect' to only ## ## connect to "trusted" nodes. ## ## ## ## If you run multiple nodes on a LAN, there's no need for ## ## all of them to open lots of connections. Instead ## ## 'connect' them all to one node that is port forwarded ## ## and has lots of connections. ## ## Thanks goes to [Noodle] on Freenode. ## ############################################################## # Use as many addnode= settings as you like to connect to specific peers #addnode=69.164.218.197 #addnode=10.0.0.2:7575 # Alternatively use as many connect= settings as you like to connect ONLY to specific peers #connect=69.164.218.197 #connect=10.0.0.1:7575 # Listening mode, enabled by default except when 'connect' is being used #listen=1 # Maximum number of inbound+outbound connections. #maxconnections= # # JSON-RPC options (for controlling a running Straks/straksd process) # # server=1 tells Straks-Qt and straksd to accept JSON-RPC commands #server=0 # Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6. # This option can be specified multiple times (default: bind to all interfaces) #rpcbind=<addr> # If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name # is.cookie and found in the `-datadir` being used for straksd. This option is typically used # when the server and client are run as the same user. # # If not, you must set rpcuser and rpcpassword to secure the JSON-RPC api. The first # method(DEPRECATED) is to set this pair
= # # JSON-RPC options (for controlling a running Straks/straksd process) # # server=1 tells Straks-Qt and straksd to accept JSON-RPC commands #server=0 # Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6. # This option can be specified multiple times (default: bind to all interfaces) #rpcbind=<addr> # If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name # is.cookie and found in the `-datadir` being used for straksd. This option is typically used # when the server and client are run as the same user. # # If not, you must set rpcuser and rpcpassword to secure the JSON-RPC api. The first # method(DEPRECATED) is to set this pair for the server and client: #rpcuser=Ulysseys #rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593 # # The second method `rpcauth` can be added to server startup argument. It is set at intialization time # using the output from the script in share/rpcuser/rpcuser.py after providing a username: # #./share/rpcuser/rpcuser.py alice # String to be appended to straks.conf: # rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae # Your password: # DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= # # On client-side, you add the normal user/password pair to send commands: #rpcuser
after providing a username: # #./share/rpcuser/rpcuser.py alice # String to be appended to straks.conf: # rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae # Your password: # DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= # # On client-side, you add the normal user/password pair to send commands: #rpcuser=alice #rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= # # You can even add multiple entries of these to the server conf file, and client can use any of them: # rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99 # How many seconds straks will wait for a complete RPC HTTP request. # after the HTTP connection is established. #rpcclienttimeout=30 # By default, only RPC connections from localhost are allowed. # Specify as many rpcallowip= settings as you like to allow connections from other hosts, # either as a single IPv4/IPv6 or with a subnet specification. # NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, # because the rpcpassword is transmitted over the network unencrypted. # server=
39e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99 # How many seconds straks will wait for a complete RPC HTTP request. # after the HTTP connection is established. #rpcclienttimeout=30 # By default, only RPC connections from localhost are allowed. # Specify as many rpcallowip= settings as you like to allow connections from other hosts, # either as a single IPv4/IPv6 or with a subnet specification. # NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, # because the rpcpassword is transmitted over the network unencrypted. # server=1 tells Straks-Qt to accept JSON-RPC commands. # it is also read by straksd to determine if RPC should be enabled #rpcallowip=10.1.1.34/255.255.255.0 #rpcallowip=1.2.3.4/24 #rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96 # Listen for RPC connections on this TCP port: #rpcport=8332 # You can use Straks or straksd to send commands to Straks/straksd # running on another host using this option: #rpcconnect=127.0.0.1 # Transaction Fee Changes in 0.10.0 # Send transactions as zero-fee transactions if possible (default: 0) #sendfreetransactions=0 # Create transactions that have enough fees (or priority) so they are likely to begin confirmation within n blocks (default: 1). # This setting is over-ridden by the -paytxfee option. #txconfirmtarget=n # Miscellaneous options # Pre-generate this many public/private key pairs, so
0:8a2e:370:7334/96 # Listen for RPC connections on this TCP port: #rpcport=8332 # You can use Straks or straksd to send commands to Straks/straksd # running on another host using this option: #rpcconnect=127.0.0.1 # Transaction Fee Changes in 0.10.0 # Send transactions as zero-fee transactions if possible (default: 0) #sendfreetransactions=0 # Create transactions that have enough fees (or priority) so they are likely to begin confirmation within n blocks (default: 1). # This setting is over-ridden by the -paytxfee option. #txconfirmtarget=n # Miscellaneous options # Pre-generate this many public/private key pairs, so wallet backups will be valid for # both prior transactions and several dozen future transactions. #keypool=100 # Pay an optional transaction fee every time you send strakss. Transactions with fees # are more likely than free transactions to be included in generated blocks, so may # be validated sooner. #paytxfee=0.00 # User interface options # Start Straks minimized #min=1 # Minimize to the system tray #minimizetotray=1
# Minimize to the system tray #minimizetotray=1
# =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_pthread.html # =========================================================================== # # SYNOPSIS # # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) # # DESCRIPTION # # This macro figures out how to build C programs using POSIX threads. It # sets the PTHREAD_LIBS output variable to the threads library and linker # flags, and the PTHREAD_CFLAGS output variable to any special C compiler # flags that are needed. (The user can also force certain compiler # flags/libs to be tested by setting these environment variables.) # # Also sets PTHREAD_CC to any special C compiler that is needed for # multi-threaded programs (defaults to the value of CC otherwise). (This # is necessary on AIX to use the special cc_r compiler alias.) # # NOTE: You are assumed to not only compile your program with these flags, # but also link it with them as well. e.g. you should link with # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS... $PTHREAD_LIBS $LIBS # # If you are only building threads programs, you may wish to use these # variables in your default LIBS, CFLAGS, and CC: # # LIBS="$PTHREAD_LIBS $LIBS" # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # CC="$PTHREAD_CC" # # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant # has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name # (e.g. PTHREAD_CREATE_UNDETACHED on AIX). # # Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the # PTHREAD_PRIO_INHERIT symbol is defined when compiling with # PTHREAD_CFLAGS. # # ACTION-IF-FOUND is a list of shell commands to run if a threads library # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it
CFLAGS, and CC: # # LIBS="$PTHREAD_LIBS $LIBS" # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # CC="$PTHREAD_CC" # # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant # has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name # (e.g. PTHREAD_CREATE_UNDETACHED on AIX). # # Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the # PTHREAD_PRIO_INHERIT symbol is defined when compiling with # PTHREAD_CFLAGS. # # ACTION-IF-FOUND is a list of shell commands to run if a threads library # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it # is not found. If ACTION-IF-FOUND is not specified, the default action # will define HAVE_PTHREAD. # # Please let the authors know if this macro fails on any platform, or if # you have any other suggestions or comments. This macro was based on work # by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help # from M. Frigo), as well as ac_pthread and hb_pthread macros posted by # Alejandro Forero Cuervo to the autoconf macro repository. We are also # grateful for the helpful feedback of numerous users. # # Updated for Autoconf 2.68 by Daniel Richard G. # # LICENSE # # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> # Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG> # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version.
. Frigo), as well as ac_pthread and hb_pthread macros posted by # Alejandro Forero Cuervo to the autoconf macro repository. We are also # grateful for the helpful feedback of numerous users. # # Updated for Autoconf 2.68 by Daniel Richard G. # # LICENSE # # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> # Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG> # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see <http://www.gnu.org/licenses/>. # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 21
As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 21
/* Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable. It is modeled after the standard library's io and net/http packages. This package enforces you to only log key/value pairs. Keys must be strings. Values may be any type that you like. The default output format is logfmt, but you may also choose to use JSON instead if that suits you. Here's how you log: log.Info("page accessed", "path", r.URL.Path, "user_id", user.id) This will output a line that looks like: lvl=info t=2014-05-02T16:07:23-0700 msg="page accessed" path=/org/71/profile user_id=9 Getting Started To get started, you'll want to import the library: import log "github.com/inconshreveable/log15" Now you're ready to start logging: func main() { log.Info("Program starting", "args", os.Args()) } Convention Because recording a human-meaningful message is common and good practice, the first argument to every logging method is the value to the *implicit* key'msg'. Additionally, the level you choose for a message will be automatically added with the key 'lvl', and so will the current timestamp with key 't'. You may supply any additional context as a set of key/value pairs to the logging function. log15 allows you to favor terseness, ordering, and speed over safety. This is a reasonable tradeoff for logging functions. You don't need to explicitly state keys/values, log15 understands that they alternate in the variadic argument list: log.Warn("size out of bounds", "low", lowBound, "high", highBound, "val", val) If you really do favor your type-safety, you may choose to pass a log.Ctx instead: log.Warn("size out of bounds", log.Ctx{"low": lowBound, "high": highBound, "val": val}) Context loggers Frequently
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
1