- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 3,107 for correct (0.04 seconds)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 }; int result = SessionServicePacket.readInt2(src, 0); assertEquals(0x1234, result); } @Test @DisplayName("readInt2 with offset should read from correct position") void testReadInt2WithOffset() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/jcifs/CredentialsTest.java
mockCredentials.getUserDomain(); mockCredentials.isAnonymous(); mockCredentials.isGuest(); }); } @Test @DisplayName("Should unwrap to correct type") void testUnwrap() { // Given when(mockCredentials.unwrap(Credentials.class)).thenReturn(mockCredentials); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
dbflute_fess/_readme.txt
resources located to the "playsql" directory. manage.bat(sh) => 25 (outside-sql-test): A execution command of OutsideSqlTest task which executes outside-SQL files and you can check whether the SQLs have correct formats. The directories are for DBFlute tasks: /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dfprop : Directory for DBFlute properties extlib : Directory for Directory for library extension
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jul 04 22:46:31 GMT 2015 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/ChecksumHashFunction.java
if (bits == 32) { /* * The long returned from a 32-bit Checksum will have all 0s for its second word, so the * cast won't lose any information and is necessary to return a HashCode of the correct * size. */ return HashCode.fromInt((int) value); } else { return HashCode.fromLong(value); } } } private static final long serialVersionUID = 0L;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
// Test parameter accepts final boolean (compile-time verification) authenticator.setUseV2Endpoint(true); authenticator.setUseV2Endpoint(false); // Verify method signature is correct assertTrue(true); } @Test public void test_defaultMaxGroupDepth() { EntraIdAuthenticator authenticator = new EntraIdAuthenticator();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertNotNull(exception); assertEquals(RootAction.class, exception.getActionClass()); } @Test public void test_getActionClass() { // Test getActionClass returns correct class UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); Class<?> actionClass = exception.getActionClass(); assertNotNull(actionClass);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
recordNameField.setAccessible(true); assertNotNull(recordNameField.get(response)); // Verify macAddress is initialized with correct size Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress"); macAddressField.setAccessible(true); byte[] macAddress = (byte[]) macAddressField.get(response);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
} }); String EVENT = "Hello!"; bus.post(EVENT); assertEquals("Only one event should be delivered.", 1, deliveries.get()); assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
import com.google.common.base.Joiner.MapJoiner; import com.google.common.base.Optional; import com.google.common.collect.ImmutableListMultimap; import com.google.common.collect.ImmutableMultiset; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Maps; import com.google.common.collect.Multimap; import com.google.common.collect.Multimaps; import com.google.errorprone.annotations.CanIgnoreReturnValue;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java
import java.io.File; import static com.google.common.collect.Iterables.getOnlyElement; import static java.util.stream.Collectors.toList; /** * Extracts Kotlin DSL runtime generated sources. * * Current implementation extracts these from the wrapper's API jars. * This is not correct as it should do this with the built distribution instead. * * Doing it correctly would require running a Gradle build with the full
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 19 17:15:23 GMT 2023 - 3.9K bytes - Click Count (0)