- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,293 for result2 (0.03 sec)
-
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
void testIsSigningEnforcedReturnsTrue() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true); // When boolean result = negotiationRequest.isSigningEnforced(); // Then assertTrue(result, "isSigningEnforced should return true when signing is enforced"); verify(negotiationRequest, times(1)).isSigningEnforced(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
byte[] buffer = new byte[1024]; int result = setupAndX.readBytesWireFormat(buffer, 0); // The implementation always returns 0 assertEquals(0, result, "readBytesWireFormat returns 0"); } @Test void testToString() { String result = setupAndX.toString(); assertNotNull(result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
// Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass result = 31 * result + tag.toInt() result = 31 * result + (if (constructed) 0 else 1) result = 31 * result + length.toInt() result = 31 * result + bytes.hashCode() return result }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
// When String result = smbComTreeDisconnect.toString(); // Then assertTrue(result.startsWith("SmbComTreeDisconnect["), "toString should start with 'SmbComTreeDisconnect['"); assertTrue(result.endsWith("]"), "toString should end with ']'"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
// Arrange when(smbTransport.getContext()).thenReturn(cifsContext); // Act CIFSContext result = smbTransport.getContext(); // Assert assertNotNull(result, "Context should not be null"); assertEquals(cifsContext, result, "Returned context should be the mocked context"); verify(smbTransport).getContext(); // Verify that the method was called }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length); } // Then hash the result array byte[] result = hashFunction.hash(hashes, 0); // interpreted in little-endian order. int verification = Integer.reverseBytes(Ints.fromByteArray(result)); if (expected != verification) { throw new AssertionError( "Expected: "
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
assertThat(ComparisonChain.start().compareFalseFirst(true, true).result()).isEqualTo(0); assertThat(ComparisonChain.start().compareFalseFirst(true, false).result()).isGreaterThan(0); assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0); assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0); } public void testCompareTrueFirst() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRoleTypeBhv.java
} @Override protected <RESULT extends RoleType> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setName(DfTypeUtil.toString(source.get("name")));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java
} @Override protected <RESULT extends User> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory"))); result.setCarLicense(DfTypeUtil.toString(source.get("carLicense"))); result.setCity(DfTypeUtil.toString(source.get("city")));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testToString() { String result = smbInfoAllocation.toString(); assertNotNull(result); assertTrue(result.contains("SmbInfoAllocation")); assertTrue(result.contains("alloc=")); assertTrue(result.contains("free=")); assertTrue(result.contains("sectPerAlloc=")); assertTrue(result.contains("bytesPerSect=")); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)