Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 814 for 5000 (0.02 sec)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write a RID (4 bytes) for readId() method
            writeLittleEndianInt(dos, 1000);
    
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            PacDataInputStream pacStream = new PacDataInputStream(bais);
    
            SID id = pacStream.readId();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EmptyIteratorTest.java

            long endTime = System.currentTimeMillis();
            long duration = endTime - startTime;
    
            // Then - should complete quickly (this is more of a performance indicator)
            assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)");
        }
    
        @Test
        @DisplayName("EmptyIterator should work correctly in nested iteration")
        void testNestedIteration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] smallBuffer = new byte[1];
            byte[] largeBuffer = new byte[1000];
    
            // Act & Assert
            assertEquals(0, transPeekNamedPipe.readSetupWireFormat(smallBuffer, 0, 1));
            assertEquals(0, transPeekNamedPipe.readSetupWireFormat(largeBuffer, 500, 500));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        }
    
        public void test_inheritance_setReloadInterval() {
            assertEquals(1000L, relatedQueryHelper.reloadInterval);
    
            relatedQueryHelper.setReloadInterval(5000L);
            assertEquals(5000L, relatedQueryHelper.reloadInterval);
        }
    
        public void test_inheritance_update() {
            List<RelatedQuery> testData = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
                if (c == '\\') {
                    buf.append('/');
                } else if (c == ' ') {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        executorService =
            new ThreadPoolExecutor(
                NUM_THREADS,
                NUM_THREADS,
                Long.MAX_VALUE,
                SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/InputValidator.java

            if (input == null) {
                return "null";
            }
            // Remove control characters and limit length
            String sanitized = input.replaceAll("[\\x00-\\x1f]", "");
            if (sanitized.length() > 1000) {
                sanitized = sanitized.substring(0, 997) + "...";
            }
            return sanitized;
        }
    
        /**
         * Validates that a value is within the specified range
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                return "doc-id-" + dataMap.get("url");
            }
        }
    
        private static class TestIndexingHelper extends IndexingHelper {
            int sendDocumentsCalled = 0;
            long documentSize = 1000;
    
            @Override
            public void sendDocuments(SearchEngineClient searchEngineClient, DocList docList) {
                sendDocumentsCalled++;
                docList.clear();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	binary.LittleEndian.PutUint32(sig[:], uint32(fileHeaderSignature))
    
    	idx := bytes.Index(b, sig[:])
    	if idx == -1 {
    		t.Fatal("file header not found")
    	}
    	b = b[idx:]
    
    	if !bytes.Equal(b[6:10], []byte{0, 0, 0, 0}) { // FileHeader.Flags: 0, FileHeader.Method: 0
    		t.Errorf("unexpected method and flags: %v", b[6:10])
    	}
    
    	if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top