- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,875 for length (0.14 sec)
-
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
// Test sequential ID assignment pattern TestDictionaryItem[] items = new TestDictionaryItem[5]; for (int i = 0; i < items.length; i++) { items[i] = new TestDictionaryItem(); items[i].id = i + 1; } for (int i = 0; i < items.length; i++) { assertEquals(i + 1, items[i].getId()); } } public void test_idModification() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
src/test/java/jcifs/BufferCacheTest.java
// Then assertNotNull(buffer1, "First buffer should not be null"); assertNotNull(buffer2, "Second buffer should not be null"); assertEquals(1024, buffer1.length, "Buffer should have expected size"); assertEquals(1024, buffer2.length, "Buffer should have expected size"); assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO) { }; int bytesRead = trans.readDataWireFormat(buffer, 0, buffer.length); assertEquals(buffer.length, bytesRead); // Access private field 'info' java.lang.reflect.Field infoField = Trans2QueryPathInformationResponse.class.getDeclaredField("info"); infoField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
public static boolean hasActionRole(final String role) { final String[] roles; if (role.endsWith(FessAdminAction.VIEW)) { roles = new String[] { role, role.substring(0, role.length() - FessAdminAction.VIEW.length()) }; } else { roles = new String[] { role }; } final FessLoginAssist loginAssist = ComponentUtil.getComponent(FessLoginAssist.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
assertEquals(1, matcher.indexIn(s, 1)); assertEquals(-1, matcher.indexIn(s, s.length())); assertEquals(s.length() - 1, matcher.lastIndexIn(s)); assertTrue(matcher.matchesAnyOf(s)); assertTrue(matcher.matchesAllOf(s)); assertFalse(matcher.matchesNoneOf(s)); assertEquals("", matcher.removeFrom(s)); assertEquals(Strings.repeat("z", s.length()), matcher.replaceFrom(s, 'z'));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
val response1 = client.newCall(request).execute() val in1 = response1.body.source() assertThat(in1.readUtf8("I love ".length.toLong())).isEqualTo("I love ") in1.skip("puppies but hate ".length.toLong()) assertThat(in1.readUtf8("spiders".length.toLong())).isEqualTo("spiders") assertThat(in1.exhausted()).isTrue() in1.close() assertThat(cache.writeSuccessCount()).isEqualTo(1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
String fullFieldName = Constants.FACET_FIELD_PREFIX + encodedFieldName; // Extract the encoded part String extractedEncoded = fullFieldName.substring(Constants.FACET_FIELD_PREFIX.length()); assertEquals(encodedFieldName, extractedEncoded); // Decode back to original String extractedFieldName = new String(BaseEncoding.base64().decode(extractedEncoded), StandardCharsets.UTF_8);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init((KeyStore) null); TrustManager[] trustManagers = trustManagerFactory.getTrustManagers(); if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) { throw new IllegalStateException("Unexpected default trust managers:" + Arrays.toString(trustManagers)); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
* * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0)