Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 683 for forSet (0.03 sec)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(original.getMessage(), retry.getMessage());
            assertEquals(original.getCause(), retry.getCause());
            assertNotNull(retry.getContext());
        }
    
        @Test
        @DisplayName("Should format message correctly")
        void testMessageFormatting() {
            // With custom message
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_EXISTS, "document.pdf already exists");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Manages a dictionary file for synonyms.
     * This class handles reading, parsing, and updating files that contain
     * synonym rules. The file format supports both explicit mappings (e.g., `a => b`)
     * and equivalent synonyms (e.g., `a, b, c`).
     *
     * The class provides methods for retrieving, adding, updating, and
     * deleting synonym items, as well as reloading the dictionary
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // Then
            assertNotNull(type3.getNTResponse());
            // Extended session security changes response format
            assertTrue(type3.getNTResponse().length >= 24);
        }
    
        @Test
        @DisplayName("Should handle NTLMv2 authentication")
        void testNTLMv2Authentication() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

     * Tests the NetBIOS session layer protocol implementation.
     */
    @ExtendWith(MockitoExtension.class)
    class SocketInputStreamTest {
    
        /**
         * Creates a NetBIOS session message header.
         * The header format is:
         * - Byte 0: Message type (0x00 for SESSION_MESSAGE)
         * - Byte 1: High bit of 17-bit length field
         * - Bytes 2-3: Lower 16 bits of length field
         */
        private static byte[] messageHeader(int length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Test 3: Tampered data with valid signature format should return false
                System.arraycopy(validSig, 0, data, SIGNATURE_OFFSET, SIGNATURE_LENGTH);
                data[20] ^= 0xFF; // Tamper with data
    
                boolean tamperedResult = digest.verify(data, 0, data.length, 0, msg);
                assertFalse(tamperedResult, "Tampered data MUST return false even with valid signature format");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("ToString Tests")
        class ToStringTests {
    
            @ParameterizedTest
            @DisplayName("Should format command name correctly")
            @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11,
                    0x12 })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Number of names
            src[srcIndex] = (byte) numNames;
    
            // Fill in name entries
            for (int i = 0; i < numNames; i++) {
                String name = String.format("NAME%02d          ", i).substring(0, 16);
                System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1 + (i * 18), 16);
                src[srcIndex + 1 + (i * 18) + 15] = (byte) i; // Different hex codes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            }
            return client;
        }
    
        /**
         * Parses client rule configuration string into a list of client name and pattern pairs.
         * The configuration string format is "clientName:pattern,clientName:pattern,..."
         * Results are cached to improve performance on subsequent calls.
         *
         * @param value the client rule configuration string
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * If we make some other optimizations, this one will no longer be necessary. The optimization
           * could actually hurt in some cases, as it forces us to keep all inputs in memory until the
           * final input completes.
           */
          @RetainedLocalRef
          ImmutableCollection<? extends ListenableFuture<? extends InputT>> localFutures = futures;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            } else {
                cpuLoad = -1;
            }
            final long maxMemory = Runtime.getRuntime().maxMemory();
            final long freeMemory = Runtime.getRuntime().freeMemory();
            final String msg = String.format(
                    "%d words from %d %s: {\"time\":{\"parse\":%d,\"index\":%d},\"cpu\":%f,\"mem\":{\"heap\":\"%dmb\",\"used\":\"%dmb\"}}",
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
Back to top