Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 186 for starei (0.1 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes
    
            // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0
            byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 };
            assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

                p++;
            }
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p < len) { /* then there must be a share */
                out[i] = '/';
                i++;
                do { /* collect the share name */
                    out[i++] = ch = pathInfo.charAt(p++);
                } while (p < len && ch != '/');
            }
            return new String(out, 0, i);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

     * It extracts data from an HTML document by applying XPath rules defined in {@link #fieldRuleMap}.
     * The extracted data is then formatted into an XML structure and stored in the {@link ResultData}.
     * <p>
     * This class extends {@link HtmlTransformer} and overrides the {@link #storeData(ResponseData, ResultData)} method
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(10, offsetBuffer.index);
            assertEquals(0, offsetBuffer.length);
        }
    
        @Test
        void testDerive() {
            ndrBuffer.advance(50); // Advance the original buffer
            NdrBuffer derivedBuffer = ndrBuffer.derive(10);
    
            // Verify derived buffer properties
            assertSame(buffer, derivedBuffer.buf);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                        long threadStart = System.nanoTime();
                        for (int i = 0; i < operationsPerThread; i++) {
                            try {
                                String shareName = "share" + (threadId % 5); // Use 5 different shares
    
                                // Test concurrent tree operations (should be thread-safe with CopyOnWriteArrayList)
                                long opStart = System.nanoTime();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                            "-u", "testuser;test123", //
                            "-s", "public;/share;yes;no;no;testuser1,testuser", //
                            "-s", "users;/srv;no;no;no;testuser1,testuser2", //
                            "-s", "testuser1 private share;/testuser1;no;no;no;testuser1", //
                            "-s", "testuser2 private share;/testuser2;no;no;no;testuser2", //
                            "-s", "empty;/empty;no;no;no;testuser", //
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <li>For high-security applications, consider using AES with GCM mode via {@link #setAlgorithm(String)} and {@link #setTransformation(String)}</li>
     * <li>Ensure keys are securely generated and stored</li>
     * <li>For production systems with stringent security requirements, consider using authenticated encryption modes</li>
     * </ul>
     * <p>
     * <strong>Usage Example:</strong>
     * </p>
     * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
                    "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" })
            void testSizeCalculation(String path, int expectedSize) {
                buffer = new DfsReferralRequestBuffer(path, 3);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

                            .forPort(port)//
                            .withStartupTimeout(Duration.ofSeconds(60)));
            logger.info("Starting {}", IMAGE_NAME);
            gcsServer.start();
            logger.info("Started {}", IMAGE_NAME);
    
            String bucketName = "fess";
            Integer mappedPort = gcsServer.getFirstMappedPort();
            String endpoint = String.format("http://%s:%s", gcsServer.getHost(), mappedPort);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
    
            // MS-SMB2: Check if server advertised SMB2_GLOBAL_CAP_MULTI_CHANNEL (0x00000008)
            // This capability should be checked from the negotiate response
            // The server capabilities are typically stored in the session or transport
    
            // TODO: Integration point - check server capabilities
            // Example: return (session.getServerCapabilities() & Smb2ChannelCapabilities.SMB2_GLOBAL_CAP_MULTI_CHANNEL) != 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top