/dports/databases/p5-Memcached-libmemcached/Memcached-libmemcached-1.001801/src/libmemcached/clients/ |
H A D | utilities.cc | 141 void process_hash_option(memcached_st *memc, char *opt_hash) in process_hash_option() argument 146 if (opt_hash == NULL) in process_hash_option() 152 if (!strcasecmp(opt_hash, "CRC")) in process_hash_option() 156 else if (!strcasecmp(opt_hash, "FNV1_64")) in process_hash_option() 160 else if (!strcasecmp(opt_hash, "FNV1A_64")) in process_hash_option() 164 else if (!strcasecmp(opt_hash, "FNV1_32")) in process_hash_option() 168 else if (!strcasecmp(opt_hash, "FNV1A_32")) in process_hash_option() 174 fprintf(stderr, "hash: type not recognized %s\n", opt_hash); in process_hash_option()
|
H A D | memdump.cc | 42 static char *opt_hash= NULL; variable 98 process_hash_option(memc, opt_hash); in main() 141 if (opt_hash) in main() 143 free(opt_hash); in main() 205 opt_hash= strdup(optarg); in options_parse()
|
H A D | memexist.cc | 27 static char *opt_hash= NULL; variable 66 process_hash_option(memc, opt_hash); in main() 133 if (opt_hash) in main() 135 free(opt_hash); in main() 206 opt_hash= strdup(optarg); in options_parse()
|
H A D | memtouch.cc | 36 static char *opt_hash= NULL; variable 73 process_hash_option(memc, opt_hash); in main() 137 if (opt_hash) in main() 139 free(opt_hash); in main() 211 opt_hash= strdup(optarg); in options_parse()
|
H A D | memrm.cc | 29 static char *opt_hash= NULL; variable 68 process_hash_option(memc, opt_hash); in main() 138 if (opt_hash) in main() 140 free(opt_hash); in main() 222 opt_hash= strdup(optarg); in options_parse()
|
H A D | memcat.cc | 35 static char *opt_hash= NULL; variable 76 process_hash_option(memc, opt_hash); in main() 180 if (opt_hash) in main() 182 free(opt_hash); in main() 242 opt_hash= strdup(optarg); in options_parse()
|
H A D | memcp.cc | 50 static char *opt_hash= NULL; variable 129 process_hash_option(memc, opt_hash); in main() 296 if (opt_hash) in main() 298 free(opt_hash); in main() 410 opt_hash= strdup(optarg); in options_parse()
|
/dports/databases/libmemcached/libmemcached-1.0.18/clients/ |
H A D | utilities.cc | 141 void process_hash_option(memcached_st *memc, char *opt_hash) in process_hash_option() argument 146 if (opt_hash == NULL) in process_hash_option() 152 if (!strcasecmp(opt_hash, "CRC")) in process_hash_option() 156 else if (!strcasecmp(opt_hash, "FNV1_64")) in process_hash_option() 160 else if (!strcasecmp(opt_hash, "FNV1A_64")) in process_hash_option() 164 else if (!strcasecmp(opt_hash, "FNV1_32")) in process_hash_option() 168 else if (!strcasecmp(opt_hash, "FNV1A_32")) in process_hash_option() 174 fprintf(stderr, "hash: type not recognized %s\n", opt_hash); in process_hash_option()
|
H A D | memdump.cc | 42 static char *opt_hash= NULL; variable 98 process_hash_option(memc, opt_hash); in main() 141 if (opt_hash) in main() 143 free(opt_hash); in main() 205 opt_hash= strdup(optarg); in options_parse()
|
H A D | memexist.cc | 27 static char *opt_hash= NULL; variable 66 process_hash_option(memc, opt_hash); in main() 133 if (opt_hash) in main() 135 free(opt_hash); in main() 206 opt_hash= strdup(optarg); in options_parse()
|
H A D | memtouch.cc | 36 static char *opt_hash= NULL; variable 73 process_hash_option(memc, opt_hash); in main() 137 if (opt_hash) in main() 139 free(opt_hash); in main() 211 opt_hash= strdup(optarg); in options_parse()
|
H A D | memrm.cc | 29 static char *opt_hash= NULL; variable 68 process_hash_option(memc, opt_hash); in main() 138 if (opt_hash) in main() 140 free(opt_hash); in main() 222 opt_hash= strdup(optarg); in options_parse()
|
H A D | memcat.cc | 35 static char *opt_hash= NULL; variable 76 process_hash_option(memc, opt_hash); in main() 180 if (opt_hash) in main() 182 free(opt_hash); in main() 242 opt_hash= strdup(optarg); in options_parse()
|
H A D | memcp.cc | 50 static char *opt_hash= NULL; 129 process_hash_option(memc, opt_hash); 296 if (opt_hash) 298 free(opt_hash); 410 opt_hash= strdup(optarg);
|
/dports/converters/p5-Sereal-Decoder/Sereal-Decoder-4.018/t/ |
H A D | 010_desperate.t | 30 my ( $extra_name, $opt_hash )= @_; 31 my $dec= Sereal::Decoder->new( $opt_hash ? $opt_hash : () ); 38 $exp= $exp->($opt_hash) if ref($exp) eq 'CODE'; 42 my $ok= eval { decode_sereal( $exp, $opt_hash ? $opt_hash : undef, $out ); 1 };
|
/dports/science/pulseview/pulseview-0.4.2/pv/data/decode/ |
H A D | decoder.cpp | 142 GHashTable *const opt_hash = g_hash_table_new_full(g_str_hash, in apply_all_options() local 148 g_hash_table_replace(opt_hash, (void*)g_strdup( in apply_all_options() 152 srd_inst_option_set(decoder_inst_, opt_hash); in apply_all_options() 153 g_hash_table_destroy(opt_hash); in apply_all_options() 168 GHashTable *const opt_hash = g_hash_table_new_full(g_str_hash, in create_decoder_inst() local 174 g_hash_table_replace(opt_hash, (void*)g_strdup( in create_decoder_inst() 181 decoder_inst_ = srd_inst_new(session, srd_decoder_->id, opt_hash); in create_decoder_inst() 182 g_hash_table_destroy(opt_hash); in create_decoder_inst()
|
/dports/converters/p5-Sereal/Sereal-4.018/t/ |
H A D | 010_desperate.t | 34 my ( $extra_name, $opt_hash )= @_; 44 $x= $x->($opt_hash) if ref($x) eq 'CODE'; 50 my $enc= Sereal::Encoder->new( $opt_hash ? $opt_hash : () );
|
H A D | 005_flags.t | 26 my ( $extra_name, $opt_hash )= @_; 28 my $encoder= Sereal::Encoder->new($opt_hash); 29 my $decoder= Sereal::Decoder->new($opt_hash);
|
/dports/converters/p5-Sereal-Encoder/Sereal-Encoder-4.018/t/ |
H A D | 010_desperate.t | 34 my ( $extra_name, $opt_hash )= @_; 44 $x= $x->($opt_hash) if ref($x) eq 'CODE'; 50 my $enc= Sereal::Encoder->new( $opt_hash ? $opt_hash : () );
|
H A D | 005_flags.t | 26 my ( $extra_name, $opt_hash )= @_; 28 my $encoder= Sereal::Encoder->new($opt_hash); 29 my $decoder= Sereal::Decoder->new($opt_hash);
|
/dports/lang/ruby26/ruby-2.6.9/test/-ext-/ |
H A D | test_scan_args.rb | 100 assert_equal([0, nil, nil], Bug::ScanArgs.opt_hash()) 101 assert_equal([1, "a", nil], Bug::ScanArgs.opt_hash("a")) 102 assert_equal([0, nil, {b: 1}], Bug::ScanArgs.opt_hash(b: 1)) 103 assert_equal([1, "a", {b: 1}], Bug::ScanArgs.opt_hash("a", b: 1)) 104 assert_raise(ArgumentError) {Bug::ScanArgs.opt_hash("a", "b")} 105 assert_equal([1, {"a"=>0}, {b: 1}], Bug::ScanArgs.opt_hash("a"=>0, b: 1))
|
/dports/lang/ruby26/ruby-2.6.9/lib/ |
H A D | un.rb | 39 opt_hash = {} 45 opt_hash[opt_name] = val 55 opt_hash[opt_name] = val 58 o.on("-v") do opt_hash[:verbose] = true end 71 yield argv, opt_hash
|
/dports/textproc/p5-Text-Similarity/Text-Similarity-0.13/bin/ |
H A D | text_similarity.pl | 80 my %opt_hash = ( 100 my $mod = $type->new (\%opt_hash); 138 my $mod = $type->new (\%opt_hash);
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/perl-AfterImage/ |
H A D | AfterImage.xs | 232 HV* opt_hash; variable 236 opt_hash = (HV*)SvRV(opt_hashref); 237 tmp = hv_fetch(opt_hash, "x", 1, 0); 239 tmp = hv_fetch(opt_hash, "y", 1, 0); 241 tmp = hv_fetch(opt_hash, "clip_x", 6, 0); 243 tmp = hv_fetch(opt_hash, "clip_y", 6, 0); 245 tmp = hv_fetch(opt_hash, "clip_width", 10, 0); 247 tmp = hv_fetch(opt_hash, "clip_height", 11, 0); 249 tmp = hv_fetch(opt_hash, "tint", 4, 0); 255 tmp = hv_fetch(opt_hash, "op", 2, 0);
|
/dports/textproc/p5-Text-Similarity/Text-Similarity-0.13/t/ |
H A D | getsimilaritystrings.t | 18 my %opt_hash = ('normalize' => 1); 20 my $overlapmod = Text::Similarity::Overlaps->new (\%opt_hash); 82 %opt_hash = ('normalize' => 0); 84 $overlapmod = Text::Similarity::Overlaps->new (\%opt_hash);
|