Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 4,617 for New (0.01 sec)

  1. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        public void setUp() {
            MockitoAnnotations.openMocks(this);
            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            byte[] originalBuffer = new byte[8];
            SMBUtil.writeInt8(expectedIndexNumber, originalBuffer, 0);
    
            // Decode into first instance
            FileInternalInfo firstInstance = new FileInternalInfo();
            firstInstance.decode(originalBuffer, 0, originalBuffer.length);
    
            // Encode from first instance
            byte[] encodedBuffer = new byte[8];
            firstInstance.encode(encodedBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            byte[] zeroGuid = new byte[16];
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, zeroGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
            byte[] buffer = new byte[request.size()];
            request.encode(buffer, 0);
    
            // Verify zero GUID
            byte[] extractedGuid = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        OutputStream out;
        InputStream in;
        byte[] sbuf = new byte[512]; /* small local buffer */
        SmbComBlankResponse key = new SmbComBlankResponse();
        long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT;
        LinkedList referrals = new LinkedList();
        SigningDigest digest = null;
        LinkedList sessions = new LinkedList();
        ServerData server = new ServerData();
        /* Negotiated values */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            useNTSmbs = file.tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (useNTSmbs) {
                reqx = new SmbComWriteAndX();
                rspx = new SmbComWriteAndXResponse();
            } else {
                req = new SmbComWrite();
                rsp = new SmbComWriteResponse();
            }
        }
    
        /**
         * Closes this output stream and releases any system resources associated
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            super.setUp();
            languageHelper = new LanguageHelper();
            languageHelper.langFields = new String[] { "title", "content" };
            languageHelper.supportedLanguages = new String[] { "ja", "en", "zh", "ko" };
            languageHelper.maxTextLength = 1000;
    
            // Setup mock FessConfig
            ComponentUtil.setFessConfig(new MockFessConfig());
        }
    
        public void test_createScript() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li>
     *   <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
     *   <li>{@link #switchIndex()}: Switches the search alias to the current update index.</li>
     *   <li>{@link #removeDisableIndices()}: Removes disabled indices.</li>
     *   <li>{@link #indexer()}: Creates a new SuggestIndexer for indexing suggestions.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        protected SmbResourceLocatorImpl clone() {
            final SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url);
            loc.canon = this.canon;
            loc.share = this.share;
            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if (this.addresses != null) {
                loc.addresses = new UniAddress[this.addresses.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FunctionsTest.java

        Supplier<Integer> supplier = new CountingSupplier();
        Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier);
    
        assertEquals(1, (int) function.apply(null));
        assertEquals(2, (int) function.apply("foo"));
    
        new EqualsTester()
            .addEqualityGroup(function, Functions.forSupplier(supplier))
            .addEqualityGroup(Functions.forSupplier(new CountingSupplier()))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_multipleJobExecutors() {
            // Test multiple JobExecutor instances
            JobExecutor executor1 = new TestJobExecutor();
            JobExecutor executor2 = new TestJobExecutor();
    
            AtomicInteger counter1 = new AtomicInteger(0);
            AtomicInteger counter2 = new AtomicInteger(0);
    
            executor1.addShutdownListener(() -> counter1.incrementAndGet());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top