- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 6,205 for new3 (0.02 seconds)
-
src/test/java/jcifs/netbios/NameTest.java
Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope"); assertFalse(name1.equals(name2)); } @Test void equals_withDifferentHexCode_shouldReturnFalse() { Name name1 = new Name(mockConfig, "TEST", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST", 0x1C, "scope");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/util/PathValidator.java
if (smbUrl == null || smbUrl.isEmpty()) { throw new SmbException("SMB URL cannot be null or empty"); } // Check URL format if (!smbUrl.toLowerCase().startsWith("smb://")) { throw new SmbException("Invalid SMB URL format"); } try { URL url = new URL(null, smbUrl, new jcifs.smb.Handler()); // Validate host
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
@DisplayName("Test complete wire format writing") void testCompleteWireFormatWriting() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO); byte[] setupBuffer = new byte[256]; byte[] paramBuffer = new byte[256]; byte[] dataBuffer = new byte[256]; int setupWritten = trans2QueryFSInfo.writeSetupWireFormat(setupBuffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
@Test public void test_settersAndGetters() { final ChatSession session = new ChatSession(); final LocalDateTime createdAt = LocalDateTime.of(2025, 1, 1, 10, 0); final LocalDateTime lastAccessedAt = LocalDateTime.of(2025, 1, 1, 11, 0); final List<ChatMessage> messages = new ArrayList<>(); session.setSessionId("session-456"); session.setUserId("user-789");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
List<FileNotifyInformation> info = new ArrayList<>(); NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
public void testList() { assertFreshInstance(new TypeToken<List<String>>() {}); assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {}); } public void testArrayList() { assertFreshInstance(new TypeToken<ArrayList<String>>() {}); assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {}); } public void testLinkedList() { assertFreshInstance(new TypeToken<LinkedList<String>>() {}); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 18.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
testSortDescending(new byte[] {}, 0, 0, new byte[] {}); testSortDescending(new byte[] {1}, 0, 1, new byte[] {1}); testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1}); testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1}); testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1}); testSortDescending(new byte[] {-1, -2, 1, 2}, 1, 3, new byte[] {-1, 1, -2, 2}); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testType1MessageFromBytes() throws IOException { // Given - Create a Type 1 message and convert to bytes Type1Message original = new Type1Message(mockContext); byte[] messageBytes = original.toByteArray(); // When Type1Message parsed = new Type1Message(messageBytes); // Then // Note: getType() method does not exist in Type1Message
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
public void testExecute() { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); testExecutor.execute(doNothing()); mock.assertLastMethodCalled("execute"); } public void testSubmit() throws InterruptedException, ExecutionException { { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1}); testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2}); testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2}); testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1}); testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2}); testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1}); testRotate(new byte[] {1, 2, 3}, -5, new byte[] {3, 1, 2});
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0)