- Sort Score
- Result 10 results
- Languages All
Results 961 - 970 of 1,889 for LENGTH (0.03 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testRapidCalls() { Instant[] instants = new Instant[1000]; for (int i = 0; i < instants.length; i++) { instants[i] = MonotonicClock.now(); } // Verify monotonic behavior across all measurements for (int i = 1; i < instants.length; i++) { assertTrue( instants[i].compareTo(instants[i - 1]) >= 0,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeAndXWireFormat(dst, dstIndex); this.length = dstIndex - start; if (this.digest != null) { this.digest.sign(dst, this.headerStart, this.length, this, this.getResponse()); } return this.length; } /* * We overload this because we want readAndXWireFormat to
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
// Setup mock file with minimal required behavior String content = "File content for testing"; byte[] contentBytes = content.getBytes(); when(smbFile.length()).thenReturn((long) contentBytes.length); when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes)); // Use spy to avoid actual SMB operations NetworkExplorer spyExplorer = spy(networkExplorer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
SuggestItem[] mergedItems = writer.mergeItems(new SuggestItem[] { item1, item2 }); assertNotNull(mergedItems); assertEquals(1, mergedItems.length); assertEquals(3, mergedItems[0].getDocFreq()); } @Test public void test_mergeItemsWithDifferentTexts() throws Exception { String[][] readings1 = new String[1][];Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
*/ @Override public void verifyMIC(byte[] data, byte[] mic) throws CIFSException { try { this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false)); } catch (GSSException e) { throw new CIFSException("Failed to verify MIC", e); } } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(SPLIT_LINES, lines); } public void testCopyTo_appendable() throws IOException { StringBuilder builder = new StringBuilder(); assertEquals(STRING.length(), source.copyTo(builder)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertEquals(STRING, builder.toString()); } public void testCopyTo_charSink() throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
Class<?>[] parameterTypes = method.getParameterTypes(); checkArgument( parameterTypes.length == 1, "Method %s has @Subscribe annotation but has %s parameters. " + "Subscriber methods must have exactly 1 parameter.", method, parameterTypes.length); checkArgument( !parameterTypes[0].isPrimitive(),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
entry1.setSize(content1.length); tos.putArchiveEntry(entry1); tos.write(content1); tos.closeArchiveEntry(); // Add another valid entry final byte[] content2 = "Another valid content".getBytes("UTF-8"); final TarArchiveEntry entry2 = new TarArchiveEntry("another.txt"); entry2.setSize(content2.length); tos.putArchiveEntry(entry2);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 12.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java
assertEquals(classRealmManager.getMavenApiRealm(), classRealm.getParentClassLoader()); assertEquals("project>modelGroup1:modelArtifact1:modelVersion1", classRealm.getId()); assertEquals(1, classRealm.getURLs().length); assertTrue( classRealm.getURLs()[0].getPath().endsWith("local/repository/some/path"), "ClassRealm URL should end with local repository path");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 7.2K bytes - Viewed (0)