- Sort Score
- Num 10 results
- Language All
Results 1231 - 1240 of 1,612 for EXPECTED (0.09 seconds)
-
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public String getExpected(String data) { /* * Get what the byte sink factory would expect for no written bytes, then append expected * string to that. */ byte[] factoryExpectedForNothing = factory.getExpected(new byte[0]); return new String(factoryExpectedForNothing, UTF_8) + checkNotNull(data); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb2Constants * Tests all SMB2 protocol constants and their expected values */ @DisplayName("Smb2Constants Test Suite") class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
NdrLong decodedTotalEntries = new NdrLong(0); netdfs.NetrDfsEnumEx decodedEnumEx = new netdfs.NetrDfsEnumEx(null, 0, 0, decodedInfo, decodedTotalEntries); // Manually encode the expected output for decode_out byte[] encodeBufferOut = new byte[1024]; NdrBuffer dstOut = new NdrBuffer(encodeBufferOut, 0); // Simulate info pointer (non-null)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and * amortized) constant time operations. Expected in the hashtable sense (depends on the hash * function doing a good job of distributing the elements to the buckets to a distribution not farCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* are stored in the cache until either evicted or manually invalidated. The common way to build * instances is using {@link CacheBuilder}. * * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed * by multiple concurrent threads. * * <p>When evaluated as a {@link Function}, a cache yields the same result as invoking {@link * #getUnchecked}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
| FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_SIZE | FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_WRITE; // Expected value when all flags are combined assertEquals(0x00000FFF, allFlags); } @Test @DisplayName("Test removing specific filter flag") void testRemovingFilterFlag() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
} else { setOf() } val lines = listOf("Invalid target runtimes for $path. Expected: ${actualComputed.keys} Declared: $declaredComputed") + extraDetails failures.add(lines.joinToString("\n")) } } } if (shouldFix) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeSet.java
* rangeSet.remove(Range.open(5, 10)); // splits [1, 10]; {[1, 5], [10, 10], [11, 20)} * } * * <p>Note that the behavior of {@link Range#isEmpty()} and {@link Range#isConnected(Range)} may not * be as expected on discrete ranges. See the Javadoc of those methods for details. * * <p>For a {@link Set} whose contents are specified by a {@link Range}, see {@link ContiguousSet}. * * <p>See the Guava User Guide article on <a href=
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.1K bytes - Click Count (0) -
tests/scanner_valuer_test.go
} *data = append((*data)[0:], b[3:]...) return nil } else if s, ok := value.(string); ok { *data = []byte(s[3:]) return nil } return errors.New("Bytes expected") } func (data EncryptedData) Value() (driver.Value, error) { if len(data) > 0 && data[0] == 'x' { // needed to test failures return nil, errors.New("Should not start with 'x'") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
char[] sharedArray = new char[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Chars.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } } @GwtIncompatible // Chars.fromByteArray public void testFromByteArray() { assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0)