- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,745 for expected (1.27 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
@ParameterizedTest @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" }) void testUnescape(String input, String expected) throws Exception { assertEquals(expected, NtlmPasswordAuthentication.unescape(input)); } // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility @Test void testGetAnsiHashAlwaysReturns24Bytes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
.testEquals(); } public void testHashCode() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); int expected = Objects.hash("foo", 1, 'a') + Objects.hash("bar", 1, 'b') + Objects.hash("foo", 3, 'c'); assertEquals(expected, table.hashCode()); } public void testToStringSize1() { table = create("foo", 1, 'a'); assertEquals("{foo={1=a}}", table.toString());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
if (response.code != 101) { throw ProtocolException( "Expected HTTP 101 response but was '${response.code} ${response.message}'", ) } val headerConnection = response.header("Connection") if (!"Upgrade".equals(headerConnection, ignoreCase = true)) { throw ProtocolException( "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'", ) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
ArtifactResolutionResult res = collect(a); assertTrue(res.hasVersionRangeViolations(), "Expected " + res + ".hasVersionRangeViolations() to return true"); /* * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch ( * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 43K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAdder.java
* high contention, expected throughput of this class is significantly higher, at the expense of * higher space consumption. * * <p>This class extends {@link Number}, but does not define methods such as {@code * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and * so are not useful as collection keys. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 13:05:10 UTC 2025 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
updateCheckManager.touch(a, remoteRepository, null); assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository)); assertFalse(file.exists(), "Expected " + file + ".exists() to return false"); assertNotNull( updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository))); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 9K bytes - Viewed (0) -
cmd/auth-handler_test.go
authT: authTypePostPolicy, }, } // .. Tests all request auth type. for i, testc := range testCases { authT := getRequestAuthType(testc.req) if authT != testc.authT { t.Errorf("Test %d: Expected %d, got %d", i+1, testc.authT, authT) } } } // Test all s3 supported auth types. func TestS3SupportedAuthType(t *testing.T) { type testCase struct { authT authType pass bool }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt
import java.io.File fun Configuration.getSingleFileProvider(): Provider<File> { val name = this.name return incoming.files.elements.map { require(it.size <= 1) { "Expected at most one file in configuration '$name' but found: $it" } it.firstOrNull()?.asFile } } fun NamedDomainObjectProvider<Configuration>.getSingleFileProvider(): Provider<File> {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 18:02:41 UTC 2025 - 1.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java
public interface ModelLocator { /** * Locates the POM file within the specified project directory. In case the given project directory does not exist * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of * the project directory will not be considered when locating the POM file. The return value will be an absolute * path if the project directory is given as an absolute path. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 1.8K bytes - Viewed (0) -
cmd/storage-datatypes.go
n.Erasure = fi.Erasure return n } // WriteQuorum returns expected write quorum for this FileInfo func (fi FileInfo) WriteQuorum(dquorum int) int { if fi.Deleted { return dquorum } quorum := fi.Erasure.DataBlocks if fi.Erasure.DataBlocks == fi.Erasure.ParityBlocks { quorum++ } return quorum } // ReadQuorum returns expected read quorum for this FileInfo
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 17.4K bytes - Viewed (0)