- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 1,132 for Expected (0.23 sec)
-
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
if (structureSize == 9) { return this.readErrorResponse(buffer, bufferIndex); } if (structureSize != 17) { throw new SMBProtocolDecodingException("Expected structureSize = 17"); } final short dataOffset = buffer[bufferIndex + 2]; bufferIndex += 4; this.dataLength = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
@DisplayName("toByteArray returns empty when no mechanismToken") void toByteArrayWhenNull() { TestSpnegoToken t = new TestSpnegoToken(); assertArrayEquals(new byte[0], t.toByteArray(), "empty array expected when mechanismToken is null"); } @Test @DisplayName("toByteArray returns mechanismToken reference when present") void toByteArrayReturnsToken() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
utils/utils_unix_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Nov 21 02:48:13 UTC 2022 - 731 bytes - Viewed (0) -
cmd/metacache-entries_test.go
o := entries.entries() if !o.isSorted() { t.Fatal("Expected sorted objects") } // Swap first and last o[0], o[len(o)-1] = o[len(o)-1], o[0] if o.isSorted() { t.Fatal("Expected unsorted objects") } sorted := o.sort() if !o.isSorted() { t.Fatal("Expected sorted o objects") } if !sorted.entries().isSorted() { t.Fatal("Expected sorted wrapped objects") } want := loadMetacacheSampleNames
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link * RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/http-tracer_test.go
}, { "?x=y&a=b", "?x=y&a=b", }, } for i, test := range testCases { gotQuery := redactLDAPPwd(test.query) if gotQuery != test.expectedQuery { t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
method.setAccessible(true); method.invoke(this); } catch (Exception e) { // Expected to catch exception silently } } }; FwAssistantDirector assistantDirector = createMockAssistantDirector(); // Should handle ClassNotFoundException gracefully
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
Collection<V> values = multimap().get(k3()); if (values.size() == 0) { expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(new ArrayList<>(), new ArrayList<>(values)); assertEquals(size, multimap().size()); } else { assertEquals(newArrayList(v3()), new ArrayList<>(values));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* supported. The elements can be any objects. * * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, 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 far from uniform), and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
ResolutionNode resolvedNode = getConflictResolver().resolveConflict(actualNode1, actualNode2); assertNotNull(resolvedNode, "Expected resolvable"); assertEquals(expectedNode, resolvedNode, "Resolution node"); } protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 4.3K bytes - Viewed (0)