- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 5,260 for chunck (0.29 sec)
-
guava/src/com/google/common/hash/Hasher.java
* mind that when dealing with char sequences, the encoded form of two concatenated char sequences * is not equivalent to the concatenation of their encoded form. Therefore, {@link * #putString(CharSequence, Charset)} should only be used consistently with <i>complete</i> * sequences and not broken into chunks. * * @author Kevin Bourrillion * @since 11.0 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 5.5K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalar_test.go
return bytes.Equal(in[:], repr) && isReduced(repr) } if err := quick.Check(f1, quickCheckConfig(1024)); err != nil { t.Errorf("failed bytes->scalar->bytes round-trip: %v", err) } f2 := func(sc1, sc2 Scalar) bool { if _, err := sc2.SetCanonicalBytes(sc1.Bytes()); err != nil { return false } return sc1 == sc2 } if err := quick.Check(f2, quickCheckConfig(1024)); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} // ensures that the number of invocations looks sane void assertInvariants(int expectedBytes) { // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1 assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize)); assertEquals(expectedBytes / chunkSize, processCalled);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
directExecutor()); // Wait for the first task to be started in the background. It will block until we explicitly // stop it. blockingCallable.waitForStart(); // Give the second task a chance to (incorrectly) start up while the first task is running. assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run. blockingCallable.stop(); executor.shutdown();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 16.8K bytes - Viewed (0) -
src/runtime/rand_test.go
//go:linkname fastrand64 runtime.fastrand64 func fastrand64() uint64 func TestLegacyFastrand(t *testing.T) { // Testing mainly that the calls work at all, // but check that all three don't return the same number (1 in 2^64 chance) { x, y, z := fastrand(), fastrand(), fastrand() if x == y && y == z { t.Fatalf("fastrand three times = %#x, %#x, %#x, want different numbers", x, y, z) } } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 23:44:31 UTC 2023 - 2K bytes - Viewed (0) -
src/os/exec_windows_test.go
} if err = w.Close(); err != nil { t.Fatal(err) } } // Then run each executable and remove its directory. // Run each executable in a separate goroutine to add some load // and increase the chance of triggering the bug. var wg sync.WaitGroup wg.Add(n) for i := 0; i < n; i++ { go func(i int) { defer wg.Done() name := execs[i] dir := filepath.Dir(name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 26 15:13:24 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/link/main.go
// Then control flow passes to ld.Main, which parses flags, makes // some configuration decisions, and then gives the architecture // packages a second chance to modify the linker's configuration // via the ld.Arch.Archinit function. func main() { var arch *sys.Arch var theArch ld.Arch buildcfg.Check() switch buildcfg.GOARCH { default: fmt.Fprintf(os.Stderr, "link: unknown architecture %q\n", buildcfg.GOARCH) os.Exit(2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 17:54:33 UTC 2022 - 1.9K bytes - Viewed (0) -
pkg/controller/deployment/progress.go
return time.Duration(-1) } // If there is no sign of progress at this point then there is a high chance that the // deployment is stuck. We should resync this deployment at some point in the future[1] // and check whether it has timed out. We definitely need this, otherwise we depend on the // controller resync interval. See https://github.com/kubernetes/kubernetes/issues/34458. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 11:00:44 UTC 2023 - 8.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/validtype.go
// path of named types in a cycle, it is only needed for error reporting. func (check *Checker) validType0(pos syntax.Pos, typ Type, nest, path []*Named) bool { typ = Unalias(typ) if check.conf.Trace { if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ { pos = t.obj.pos } check.indent++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/go/types/validtype.go
// path of named types in a cycle, it is only needed for error reporting. func (check *Checker) validType0(pos token.Pos, typ Type, nest, path []*Named) bool { typ = Unalias(typ) if check.conf._Trace { if t, _ := typ.(*Named); t != nil && t.obj != nil /* obj should always exist but be conservative */ { pos = t.obj.pos } check.indent++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.3K bytes - Viewed (0)