- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 2,329 for Result (0.07 seconds)
-
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java
} @Override protected <RESULT extends FileConfig> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setAvailable(DfTypeUtil.toBoolean(source.get("available"))); result.setBoost(DfTypeUtil.toFloat(source.get("boost")));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
void testGetUNIBytes() { // When byte[] result = Strings.getUNIBytes(TEST_STRING); // Then assertNotNull(result, "Result should not be null"); assertTrue(result.length > 0, "Result should not be empty"); assertEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE).length, result.length, "Length should match UTF-16LE encoding");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
assertEquals("c", result[2]); } @Test public void test_distinct_withDuplicates() { // Test distinct with duplicates String[] input = new String[] { "a", "b", "a", "c", "b", "a" }; String[] result = invokeDistinct(input); assertEquals(3, result.length); assertEquals("a", result[0]); assertEquals("b", result[1]); assertEquals("c", result[2]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
schema/constraint_test.go
Constraint: "name <> 'jinzhu'", }, } checks := user.ParseCheckConstraints() for k, result := range results { v, ok := checks[k] if !ok { t.Errorf("Failed to found check %v from parsed checks %+v", k, checks) } for _, name := range []string{"Name", "Constraint"} { if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() { t.Errorf(
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 2.2K bytes - Click Count (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 }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
String result = purgeThumbnailJob.execute(); assertEquals("Deleted 0 thumbnail files.", result); assertEquals(30L * 24 * 60 * 60 * 1000L, thumbnailManager.getPurgeExpiry()); } // Test execute with successful purge (single file deleted) @Test public void test_execute_singleFileDeleted() { thumbnailManager.setPurgeCallCount(1); String result = purgeThumbnailJob.execute();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
void testAs_Object_Success() throws PACDecodingException { // Test successful casting String expected = "test string"; Object obj = expected; String result = ASN1Util.as(String.class, obj); assertSame(expected, result); } @Test void testAs_Object_Failure() { // Test failed casting Object obj = 123; // Integer assertThrows(PACDecodingException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt
} @Test fun singleIpv6() { val result = reorderForHappyEyeballs(listOf(ipv6_ab)) assertThat(result).isEqualTo( listOf(ipv6_ab), ) } @Test fun singleIpv4() { val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6)) assertThat(result).isEqualTo( listOf(ipv4_10_0_0_6), ) } @Test fun prioritiseIpv6() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* contains {@link Double#NEGATIVE_INFINITY} and not {@link Double#NaN} then the result is {@link * Double#NEGATIVE_INFINITY}. If it contains {@link Double#POSITIVE_INFINITY} and finite values * only then the result is the lowest finite value. If it contains {@link * Double#POSITIVE_INFINITY} only then the result is {@link Double#POSITIVE_INFINITY}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0)