Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 650 for 1000L (0.02 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        @Test
        public void testConvertWithLongText() throws IOException {
            // Test convert with long text
            converter.init();
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("word").append(i).append(" ");
            }
            String text = sb.toString();
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (CACHE_POLICY == 0) {
                return;
            }
            long expiration = -1;
            if (CACHE_POLICY != FOREVER) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
        static void cacheAddress(final Name hostName, final NbtAddress addr, final long expiration) {
            if (CACHE_POLICY == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                rn = resp.numReferrals;
            }
    
            DfsReferral dr = new DfsReferral();
    
            final String[] arr = new String[4];
            final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for (;;) {
                /* NTLM HTTP Authentication must be re-negotiated
                 * with challenge from 'server' to access DFS vol. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            response.received = false;
    
                            responseTable.put(nid, response);
                            ensureOpen(timeout + 1000);
                            socket.send(out);
    
                            if (LogStream.level > 3) {
                                log.println(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, new int[] { 1, 2 });
                byte[] smallBuffer = new byte[100]; // Make buffer large enough
                byte[] largeBuffer = new byte[1000];
    
                // Act
                int smallEncodedSize = context.encode(smallBuffer, 0);
                int largeEncodedSize = context.encode(largeBuffer, 500);
    
                // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertSame(specificHandle, handleField.get(lookupSids));
        }
    
        @Test
        void constructor_shouldHandleLargeSidArray() {
            // Arrange
            int largeSize = 1000;
            testSids = new jcifs.SID[largeSize];
            for (int i = 0; i < largeSize; i++) {
                testSids[i] = mock(jcifs.SID.class);
                when(testSids[i].unwrap(sid_t.class)).thenReturn(mockSidT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            for (int i = 1; i <= 5; i++) {
                int newResumeKey = i * 1000;
                String newFilename = "file" + i + ".txt";
    
                trans2FindNext2.reset(newResumeKey, newFilename);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        void waitUntilHoldingLock() throws InterruptedException {
          locked.await(1, MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
          finishLatch.countDown();
          this.join(10000);
          assertFalse(this.isAlive());
        }
      }
    
      public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top