- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,145 for best (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/io/ByteStreams.java
byte[] buf = new byte[min(bufSize, MAX_ARRAY_LEN - totalLen)]; bufs.add(buf); int off = 0; while (off < buf.length) { // always OK to fill buf; its size plus the rest of bufs is never more than MAX_ARRAY_LEN int r = in.read(buf, off, buf.length - off); if (r == -1) { return combineBuffers(bufs, totalLen); } off += r; totalLen += r;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0) -
src/bytes/bytes_test.go
{"a☺b☻c☹d", "b", len("a☺")}, // non-ascii } for _, test := range testCases { actual := LastIndexByte([]byte(test.a), test.b[0]) if actual != test.i { t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i) } } } // test a larger buffer with different sizes and alignments func TestIndexByteBig(t *testing.T) { var n = 1024Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
docs/de/docs/python-types.md
Wenn Sie über die **neueste Version von Python** verfügen, verwenden Sie die Beispiele für die neueste Version, diese werden die **beste und einfachste Syntax** haben, zum Beispiel, „**Python 3.10+**“. #### Liste { #list } Definieren wir zum Beispiel eine Variable, die eine `list` von `str` – eine Liste von Strings – sein soll.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.9K bytes - Click Count (1) -
docs/en/docs/advanced/settings.md
/// ## Types and validation { #types-and-validation } These environment variables can only handle text strings, as they are external to Python and have to be compatible with other programs and the rest of the system (and even with different operating systems, as Linux, Windows, macOS).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 11.2K bytes - Click Count (0) -
src/bufio/bufio_test.go
src := make([]byte, 10) eofR := &eofReader{buf: src} r := NewReader(eofR) // Start by reading 5 of the 10 available bytes. dest := make([]byte, 5) read, err := r.Read(dest) if err != nil { t.Fatalf("unexpected error: %v", err) } if n := len(dest); read != n { t.Fatalf("read %d bytes; wanted %d bytes", read, n) } // The Reader should have buffered all the content from the io.Reader.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} }.test(); } @GwtIncompatible // slow (~30s) public void testIterator_general() { new IteratorTester<String>( 5, UNMODIFIABLE, asList("a", "b", "c"), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<String> newTargetIterator() { return of("a", "b", "c").iterator(); } }.test(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
assertEquals(6, macAddress.length); } @Test void writeBodyWireFormat_shouldReturnZero() { byte[] dst = new byte[100]; int result = response.writeBodyWireFormat(dst, 10); assertEquals(0, result); } @Test void readBodyWireFormat_shouldDelegateToReadResourceRecordWireFormat() throws Exception { // Prepare test data with minimal valid resource record
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// No context mocks needed for static method test assertEquals(expected, SmbResourceLocatorImpl.queryLookup(query, key)); } @Test @DisplayName("resolveInContext builds relative paths with and without share") void testResolveInContext() { // Context without share: first element becomes share, rest path SmbResourceLocatorImpl base = locator("smb://server/");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
cmd/xl-storage-format-v2_test.go
}, } for _, test := range testCases { t.Run(test.name, func(t *testing.T) { // Run multiple times, shuffling the input order. for i := range int64(50) { t.Run(fmt.Sprint(i), func(t *testing.T) { rng := rand.New(rand.NewSource(i)) rng.Shuffle(len(test.input), func(i, j int) { test.input[i], test.input[j] = test.input[j], test.input[i] })Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19K bytes - Click Count (0)