- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for nofinalB (0.3 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) -
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) -
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) -
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) -
android/guava/src/com/google/common/hash/MacHashFunction.java
checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return HashCode.fromBytesNoCopy(mac.doFinal()); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 15 22:31:55 UTC 2022 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/MacHashFunction.java
checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return HashCode.fromBytesNoCopy(mac.doFinal()); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 15 22:31:55 UTC 2022 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go
// borrowing of concurrency. // Both scenarios are the same except for the limits. // The test defines two priority levels, identified as "flows" 0 and 1. // Both priority levels have a nominal concurrency limit of 12. // The test maintains 24 concurrent clients for priority level 0 // and 6 for level 1, // using an exec func that simply sleeps for 250 ms, for
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 9K bytes - Viewed (0)