- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 399 for 8100 (0.01 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
/** * Tests for {@link AtomicLongMap}. * * @author mike nonemacher */ @GwtCompatible @NullUnmarked public class AtomicLongMapTest extends TestCase { private static final int ITERATIONS = 100; private static final int MAX_ADDEND = 100; private final Random random = new Random(301); @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java
super(); } /** * Returns the path prefix for SMB URLs. * @return The path prefix. */ public String getPathPrefix() { final StringBuilder buf = new StringBuilder(100); buf.append("smb://"); if (server != null) { buf.append(server); if (port > 0) { buf.append(':'); buf.append(port); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
int offset = 0; setHeaderStart(response, 64); // Create a long filename StringBuilder longName = new StringBuilder(); for (int i = 0; i < 100; i++) { longName.append("test"); } String fileName = longName.toString(); byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked"); // Write structure headerRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
* SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0); * assertEquals("some message", firstRecord.getMessage()); * } * </pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TestLogHandler extends Handler { private final Object lock = new Object(); /** We will keep a private list of all logged records */ @GuardedBy("lock")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
lenient().when(mockFileHandle.getInitialSize()).thenReturn(100L); // File already has 100 bytes when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse); when(mockWriteResponse.getCount()).thenReturn(8); // Create output stream in append mode - note the append flag sets initial fp to 100 outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
String sessionId = "age-test"; keyManager.storeSessionKey(sessionId, testKey, "AES"); long initialAge = keyManager.getKeyAge(sessionId); assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small"); Thread.sleep(200); long laterAge = keyManager.getKeyAge(sessionId); assertTrue(laterAge >= 200, "Age should increase after delay"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
} /** * Test the writeParametersWireFormat method for NET_SERVER_ENUM2. */ @Test void testWriteParametersWireFormat_Enum2() throws UnsupportedEncodingException { byte[] dst = new byte[100]; int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0); // Verify subcommand assertEquals(SmbComTransaction.NET_SERVER_ENUM2 & 0xFF, (dst[0] & 0xFF) | ((dst[1] & 0xFF) << 8));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
public void testWriteBytesWireFormatAscii() throws Exception { // Given String oldFileName = "oldFile.txt"; String newFileName = "newFile.txt"; byte[] dst = new byte[100]; smbComRename = new SmbComRename(config, oldFileName, newFileName); // Set unicode to false Field useUnicodeField = ServerMessageBlock.class.getDeclaredField("useUnicode");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] buffer = new byte[100]; int bytesRead = notifyInfo.decode(buffer, 0, 0); assertEquals(0, bytesRead); } @Test @DisplayName("Test decode with non-aligned next entry offset throws exception") void testDecodeNonAlignedNextOffset() { byte[] buffer = new byte[100]; // Write non-aligned next entry offset (not divisible by 4)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
return 200; } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(new byte[100]); // dummy payload } } @Test public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception { // ## Arrange ##Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0)