- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for nofinalB (0.31 sec)
-
test/mallocfin.go
if final[b.n] != 1 { println("finalB", b.n, final[b.n]) panic("fail") } final[b.n] = 2 nfinal++ } func nofinalB(b *B) { panic("nofinalB run") } func main() { runtime.GOMAXPROCS(4) for i = 0; i < N; i++ { b := &B{i} a := &A{b, i} c := new(B) runtime.SetFinalizer(c, nofinalB) runtime.SetFinalizer(b, finalB) runtime.SetFinalizer(a, finalA) runtime.SetFinalizer(c, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
mac.init(MD5_KEY); mac.update(input.getBytes(UTF_8)); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString()); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
mac.init(MD5_KEY); mac.update(input.getBytes(UTF_8)); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString()); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString());
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/main/java/jcifs/pac/PacMac.java
int ms_usage = mapArcfourMD5KeyUsage(keyusage); Mac mac = Mac.getInstance("HmacMD5"); MessageDigest md = MessageDigest.getInstance("MD5"); mac.init(key); byte[] dk = mac.doFinal(MD5_CONSTANT); try { // little endian md.update((byte) ( ms_usage & 0xFF )); md.update((byte) ( ( ms_usage >> 8 ) & 0xFF ));
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Aug 17 17:34:29 UTC 2021 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
public byte[] encrypto(final byte[] data) { final Cipher cipher = pollEncryptoCipher(); byte[] encrypted; try { encrypted = cipher.doFinal(data); } catch (final IllegalBlockSizeException e) { throw new IllegalBlockSizeRuntimeException(e); } catch (final BadPaddingException e) { throw new BadPaddingRuntimeException(e);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
cipher.init(Cipher.DECRYPT_MODE, dataKey); int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE; byte[] plainData = cipher.doFinal(data, KerberosConstants.CHECKSUM_SIZE, plainDataLength); byte[] plainDataChecksum = getHmac(plainData, codeHmac); if ( plainDataChecksum.length >= KerberosConstants.CHECKSUM_SIZE )
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
// Nominal cost. return &checker.CallEstimate{CostEstimate: checker.CostEstimate{Min: 1, Max: 1}} } sz := l.sizeEstimate(args[0]) return &checker.CallEstimate{CostEstimate: sz.MultiplyByCostFactor(common.StringTraversalCostFactor)} } else if target != nil { // The IP member of a CIDR is a just accessing a field, nominal cost.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1beta1/conversion_test.go
tests := []struct { name string in *v1beta1.LimitedPriorityLevelConfiguration expected *flowcontrol.LimitedPriorityLevelConfiguration }{ { name: "nominal concurrency shares is set as expected", in: &v1beta1.LimitedPriorityLevelConfiguration{ AssuredConcurrencyShares: 100, LimitResponse: v1beta1.LimitResponse{ Type: v1beta1.LimitResponseTypeReject, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 26 19:34:10 UTC 2022 - 3K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1beta2/conversion_test.go
tests := []struct { name string in *v1beta2.LimitedPriorityLevelConfiguration expected *flowcontrol.LimitedPriorityLevelConfiguration }{ { name: "nominal concurrency shares is set as expected", in: &v1beta2.LimitedPriorityLevelConfiguration{ AssuredConcurrencyShares: 100, LimitResponse: v1beta2.LimitResponse{ Type: v1beta2.LimitResponseTypeReject, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 26 19:34:10 UTC 2022 - 3K bytes - Viewed (0)