Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 4156 (0.04 sec)

  1. src/test/java/jcifs/ConfigTest.java

        @DisplayName("Should get integer property with default value")
        void testGetIntWithDefault() {
            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

            /* windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            byte[] testGuid = new byte[16];
            for (int i = 0; i < 16; i++) {
                testGuid[i] = (byte) (i + 1);
            }
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    
            // Set security mode (2 bytes)
            int testSecurityMode = 0x0003;
            SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20);
    
            // Set dialect (2 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
    
        /**
         * @param il
         * @return
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            auth.setUser("alice");
            auth.setRealm("EXAMPLE.COM");
            auth.setService("cifs");
            auth.setUserLifeTime(123);
            auth.setLifeTime(456);
            auth.setForceFallback(true);
    
            Kerb5Authenticator cloned = auth.clone();
    
            assertNotSame(auth, cloned);
            assertEquals(subj, cloned.getSubject());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
          next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.byteTable[next & 0xFF];
        }
        int[][] expected = new int[4][256];
        for (int b = 0; b < 4; ++b) {
          for (int bit = 128; bit != 0; bit >>= 1) {
            expected[b][bit] = next;
            next = advanceOneBit(next);
          }
        }
        for (int b = 0; b < 4; ++b) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // Then: Should have correct values
                assertEquals(0x3e, message.getOpnum());
                assertEquals("system", message.system_name);
                assertEquals(456, message.unknown);
                assertEquals(123, message.access_mask);
                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        public void test_execute_withCustomSessionId() {
            thumbnailJob.sessionId = "custom-session-456";
            thumbnailJob.cleanup();
    
            testProcessHelper.exitValue = 0;
    
            String result = thumbnailJob.execute();
    
            assertTrue(result.contains("Session Id: custom-session-456"));
            assertEquals("custom-session-456", thumbnailJob.sessionId);
        }
    
        // Test execute with process failure
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructorWithString() {
            // Test with a simple message
            String message = "Job with ID 456 not found";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            TestSearchLogEvent event = new TestSearchLogEvent("test-id-123", 1L, "search");
            assertEquals("test-id-123", event.getId());
    
            // Test ID change
            event.setId("new-id-456");
            assertEquals("new-id-456", event.getId());
    
            // Test null ID
            NullSearchLogEvent nullEvent = new NullSearchLogEvent();
            assertNull(nullEvent.getId());
    
            // Test empty ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top