Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for 1020 (0.01 sec)

  1. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

      public void testJoin() throws Exception {
        joinHelper(0);
        joinHelper(1);
        joinHelper(0, 0, 0);
        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
      public void testOnlyOneOpen() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

      public void testJoin() throws Exception {
        joinHelper(0);
        joinHelper(1);
        joinHelper(0, 0, 0);
        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
      public void testOnlyOneOpen() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        @Test
        @DisplayName("getSessionKey returns bytes, empty, then null")
        void getSessionKey_variants() throws CIFSException {
            byte[] key = new byte[] { 10, 20 };
            when(session.getSessionKey()).thenReturn(key, new byte[0], null);
    
            assertArrayEquals(key, session.getSessionKey());
            assertArrayEquals(new byte[0], session.getSessionKey());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // readUTime multiplies the seconds value by 1000, and writeUTime divides milliseconds by 1000
            // So the round-trip should preserve the milliseconds value
            assertEquals(sampleTimeMillis + serverTimeZoneOffset, response.getLastWriteTime());
            assertEquals(1024, response.getSize());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        this.isUserTypeFast = isUserTypeFast;
        this.random = checkNotNull(random);
        this.hitRate = hitRate;
        this.size = size;
    
        this.valuesInSet = createData();
        this.queries = createQueries(valuesInSet, 1024);
      }
    
      Set<Element> getValuesInSet() {
        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertTrue(channel.isHealthy());
    
            // Test metrics
            channel.incrementRequestsSent();
            channel.addBytesSent(1024);
            channel.updateActivity();
    
            assertEquals(1, channel.getRequestsSent());
            assertEquals(1024, channel.getBytesSent());
            assertTrue(channel.getLastActivityTime() > 0);
        }
    
        @Test
        void testChannelFailover() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            assertFalse(loopback.isUsableForChannel());
        }
    
        @Test
        void testGetScore() {
            NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000);
            assertEquals(1000, basic.getScore()); // Base score is link speed
    
            NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000);
            assertTrue(fast.getScore() > basic.getScore());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

        /** The username for file authentication (required, maximum 100 characters). */
        @Required
        @Size(max = 100)
        public String username;
    
        /** The password for file authentication (maximum 100 characters). */
        @Size(max = 100)
        public String password;
    
        /** Additional parameters for file authentication (maximum 1000 characters). */
        @Size(max = 1000)
        public String parameters;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolderTest.java

            fooAuth.setServer("foo");
            fooAuth.setPort(1000);
            smbAuthenticationHolder.add(fooAuth);
    
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/"));
            assertEquals(fugaAuth, smbAuthenticationHolder.get("smb1://fuga/"));
            assertEquals(fooAuth, smbAuthenticationHolder.get("smb1://foo:1000/"));
            assertEquals(hogeAuth, smbAuthenticationHolder.get("smb1://hoge/text.txt"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

        public void test_doneBeforeResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top