- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 43 for getFreq (0.06 seconds)
-
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
public static java.util.Collection subtract(java.util.Collection, java.util.Collection); public static java.util.Map getCardinalityMap(java.util.Collection); public static java.util.List iteratorToList(java.util.Iterator); private static final int getFreq(Object, java.util.Map); } org/codehaus/plexus/util/dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String,...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} @Test @DisplayName("Should define getFree method") void shouldDefineGetFreeMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getFree")); assertEquals(long.class, AllocInfo.class.getMethod("getFree").getReturnType()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Then long expectedFree = free * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, fileFsSizeInfo.getFree()); assertEquals(2097152L, fileFsSizeInfo.getFree()); // 512 * 8 * 512 } @Test @DisplayName("Should handle overflow in capacity calculation")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Then long expectedFree = callerFree * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, fileFsFullSizeInfo.getFree()); assertEquals(2097152L, fileFsFullSizeInfo.getFree()); // 512 * 8 * 512 } @Test @DisplayName("Should handle overflow in capacity calculation")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Verify - all zeros should result in 0 capacity and free assertEquals(0L, smbInfoAllocation.getCapacity()); assertEquals(0L, smbInfoAllocation.getFree()); } @Test @DisplayName("Test getFree with maximum values") void testGetFreeWithMaximumValues() throws SMBProtocolDecodingException { // Prepare test data with maximum int values byte[] buffer = new byte[22];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
when(mockAllocInfo.getFree()).thenReturn(400L); assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value"); assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value"); verify(mockAllocInfo, times(1)).getCapacity(); verify(mockAllocInfo, times(1)).getFree(); } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbFileHandleTest.java
} /** * Test that getTree() returns the correct SmbTreeHandle. */ @Test void testGetTree() { when(smbFileHandle.getTree()).thenReturn(smbTreeHandle); SmbTreeHandle result = smbFileHandle.getTree(); assertEquals(smbTreeHandle, result, "getTree should return the mocked SmbTreeHandle."); verify(smbFileHandle, times(1)).getTree(); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
SmbInfoAllocation info = (SmbInfoAllocation) response.getInfo(); assertEquals(8L * 1000000L * 512L, info.getCapacity()); assertEquals(8L * 500000L * 512L, info.getFree()); } @Test void testReadDataWireFormat_FileFsSizeInformation() throws Exception { // Test reading FS_SIZE_INFO dataCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
} else if (requestType.equals(MetadataResolutionRequestTypeEnum.versionedGraph)) { return new MetadataGraph(getTree(), true, false); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.scopedGraph)) { return new MetadataGraph(getTree(), true, true); } return null; } // ----------------------------------------------------------------------------
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.4K bytes - Click Count (0)