- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 2,331 for Sample (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
builder.addHeader("", "Value") } } @Test fun headerAllowsTabOnlyInValues() { val builder = Request.Builder() builder.header("key", "sample\tvalue") assertFailsWith<IllegalArgumentException> { builder.header("sample\tkey", "value") } } @Test fun headerForbidsControlCharacters() { assertForbiddenHeader("\u0000") assertForbiddenHeader("\r")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* is desired. * * <table border="1"> * <caption>SmbNamedPipe Constructor Examples</caption> * <tr> * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td> * <tr><td ><b>Code Sample</b></td><td><b>Description</b></td></tr> * <tr><td ><pre> * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo", * SmbNamedPipe.PIPE_TYPE_RDWR | * SmbNamedPipe.PIPE_TYPE_CALL ); * </pre></td><td>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Verify a sample of encrypted messages can be decrypted (to avoid extensive decryption that might fail) int sampleSize = Math.min(5, encrypted.size()); for (int i = 0; i < sampleSize; i++) { try { byte[] decrypted = context.decryptMessage(encrypted.get(i)); assertArrayEquals(messages.get(i).getBytes(), decrypted, "Sample message " + i + " should decrypt correctly");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCopyOf_concurrentlyMutating() { List<String> sample = Lists.newArrayList("a", "b", "c"); for (int delta : new int[] {-1, 0, 1}) { for (int i = 0; i < sample.size(); i++) { Collection<String> misleading = misleadingSizeCollection(delta); List<String> expected = sample.subList(0, i); misleading.addAll(expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
this.entryComparator = entryComparator(emptyMap.comparator()); // derive values for inclusive filtering from the input samples SampleElements<Entry<K, V>> samples = delegate.samples(); List<Entry<K, V>> samplesList = asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4()); sort(samplesList, entryComparator); this.firstInclusive = samplesList.get(0).getKey();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
LICENSES/third_party/forked/shell2junit/LICENSE
Shell2Junit License Information Feb, 2010 shell2junit library and sample code is licensed under Apache License, v.2.0. (c) 2009 Manolo Carrasco (Manuel Carrasco MoƱino) ===== Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Jul 08 11:48:19 GMT 2021 - 9.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
address[b++] = (value.ushr(8) and 0xff).toByte() address[b++] = (value and 0xff).toByte() } // All done. If compression happened, we need to move bytes to the right place in the // address. Here's a sample: // // input: "1111:2222:3333::7777:8888" // before: { 11, 11, 22, 22, 33, 33, 00, 00, 77, 77, 88, 88, 00, 00, 00, 00 } // compress: 6 // b: 10
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCopyOf_concurrentlyMutating() { List<String> sample = Lists.newArrayList("a", "b", "c"); for (int delta : new int[] {-1, 0, 1}) { for (int i = 0; i < sample.size(); i++) { Collection<String> misleading = misleadingSizeCollection(delta); List<String> expected = sample.subList(0, i); misleading.addAll(expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 23.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
} @Test @DisplayName("Should decode buffer correctly") void testDecode() throws SMBProtocolDecodingException { // Prepare test buffer with sample data byte[] buffer = new byte[24]; // Skip idFileSystem (4 bytes) buffer[4] = 0x08; // sectPerAlloc = 8 buffer[8] = 0x00; buffer[9] = 0x10; // alloc = 4096Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)