- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 132 for badlen (0.11 sec)
-
test/noinit.go
func F0() *S { return &S{1, 2, 3} } var LitSNoArgs = F0() var myError = errors.New("mine") func gopherize(s string) string { return "gopher gopher gopher " + s } var animals = gopherize("badger") // These init funcs should optimize away. func init() { } func init() { if false { } } func init() { for false { } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 17:57:36 UTC 2023 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Hashing.hmacMd5(customKey) .hashString("The quick brown fox jumps over the lazy dog", UTF_8) .toString()); } public void testBadKey_emptyKey() throws Exception { SecretKey badKey = new SecretKey() { @Override public String getAlgorithm() { return "HmacMD5"; } @Override public byte @Nullable [] getEncoded() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
src/net/netip/netip_pkg_test.go
{mustIP("10.0.0.1"), 32}, {mustIP("::"), 128}, {mustIP("fed0::1"), 128}, {mustIP("::ffff:10.0.0.1"), 128}, } for _, tt := range tests { got := tt.ip.BitLen() if got != tt.want { t.Errorf("BitLen(%v) = %d; want %d", tt.ip, got, tt.want) } } } func TestPrefixContains(t *testing.T) { tests := []struct { ipp Prefix ip Addr want bool }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 15:37:19 UTC 2023 - 9K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/color.js
&"transparent"===a)return!0;var c="#"===a[0];if(!c)return!1;var d=4===a.length||7===a.length;if(d){var e=/[0-9a-f]/i,f=a.slice(1).split(""),g=!0;return f.forEach(function(a){null===a.match(e)&&(g=!1)}),g}return!1},errorMessage:"",errorMessageKey:"badHex"}),a.formUtils.addValidator({name:"rgb",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c=a.replace(/ /g,""),d=/\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)/i;if(c.match(d)){var e=c.replace(/\(/g...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.8K bytes - Viewed (0) -
src/math/big/natconv.go
if base < 2 || base > MaxBase { panic("invalid base") } // x == 0 if len(x) == 0 { return []byte("0") } // len(x) > 0 // allocate buffer for conversion i := int(float64(x.bitLen())/math.Log2(float64(base))) + 1 // off by 1 at most if neg { i++ } s := make([]byte, i) // convert power of two and non power of two bases separately if b := Word(base); b == b&-b {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 14.6K bytes - Viewed (0) -
src/math/big/ftoa.go
// that the lsb of mant corresponds to 1/2 ulp for the precision of // x (i.e., for mant we want x.prec + 1 bits). mant := nat(nil).set(x.mant) exp := int(x.exp) - mant.bitLen() s := mant.bitLen() - int(x.prec+1) switch { case s < 0: mant = mant.shl(mant, uint(-s)) case s > 0: mant = mant.shr(mant, uint(+s)) } exp += s // x = mant * 2**exp with lsb(mant) == 1/2 ulp of x.prec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Hashing.hmacMd5(customKey) .hashString("The quick brown fox jumps over the lazy dog", UTF_8) .toString()); } public void testBadKey_emptyKey() throws Exception { SecretKey badKey = new SecretKey() { @Override public String getAlgorithm() { return "HmacMD5"; } @Override public byte @Nullable [] getEncoded() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
src/strings/example_test.go
} show("Gopher", "Go") show("Gopher", "ph") show("Gopher", "er") show("Gopher", "Badger") // Output: // Cut("Gopher", "Go") = "", "pher", true // Cut("Gopher", "ph") = "Go", "er", true // Cut("Gopher", "er") = "Goph", "", true // Cut("Gopher", "Badger") = "Gopher", "", false } func ExampleCutPrefix() { show := func(s, sep string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0) -
docs/de/docs/python-types.md
=== "Python 3.10+" ```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial008b_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial008b.py!} ``` In beiden Fällen bedeutet das, dass `item` ein `int` oder ein `str` sein kann.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:29:25 UTC 2024 - 19.3K bytes - Viewed (0) -
security/pkg/pki/util/crypto.go
if t := reflect.TypeOf(privKey); t != reflect.TypeOf(&rsa.PrivateKey{}) { return 0, fmt.Errorf("key type is not RSA: %v", t) } pkey := privKey.(*rsa.PrivateKey) return pkey.N.BitLen(), nil } // GetEllipticCurve returns the type of curve associated with the private key; // if ECDSA is used, then only 384 and 256 (default) are returned; if non-ECDSA // is used then an error is returned
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0)