Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 4,230 for new1 (0.02 sec)

  1. src/main/java/org/codelibs/core/collection/Maps.java

         */
        public static <KEY, VALUE> Maps<KEY, VALUE> concurrentHashMap(final KEY key, final VALUE value) {
            return new Maps<>(new ConcurrentHashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
         * Returns a {@literal Maps} for constructing a {@link HashMap} with the specified key and value.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES);
        assertEquals(Arrays.toString(VALUES), aa.toString());
        assertEquals("[]", new AtomicDoubleArray(0).toString());
        assertEquals("[]", new AtomicDoubleArray(new double[0]).toString());
      }
    
      /** compareAndSet treats +0.0 and -0.0 as distinct values */
      public void testDistinctZeros() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

                lsarpc.LsarRefDomainList domains = new lsarpc.LsarRefDomainList();
                domains.count = 1;
                domains.max_count = 1;
                domains.domains = new lsarpc.LsarTrustInformation[1];
                domains.domains[0] = new lsarpc.LsarTrustInformation();
                domains.domains[0].name = new UnicodeString("TESTDOM", false);
                domains.domains[0].sid = new jcifs.dcerpc.rpc.sid_t();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                }
            };
    
            callback.store(new DataStoreParams(), new HashMap<>());
            assertEquals(1L, callback.getDocumentSize());
        }
    
        public void test_commit_behavior() {
            // Test commit behavior with state tracking
            final AtomicInteger commitCount = new AtomicInteger(0);
            final AtomicLong documentsBeforeCommit = new AtomicLong(0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(enc.encryptMessage(any(byte[].class), eq(99L))).thenReturn(new byte[] { 9, 9 });
            when(enc.decryptMessage(any(byte[].class))).thenReturn(new byte[] { 7, 7 });
    
            assertTrue(session.isEncryptionEnabled());
            assertSame(enc, session.getEncryptionContext());
    
            byte[] encOut = session.encryptMessage(new byte[] { 1, 2, 3 });
            assertArrayEquals(new byte[] { 9, 9 }, encOut);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
        Executor exec = newCachedThreadPool();
        CountDownLatch countDownLatch = new CountDownLatch(3);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
        list.add(new MockRunnable(countDownLatch), exec);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            // Test with different types of causes
            DataStoreException withIOException = new DataStoreException("IO Error", new java.io.IOException("File not found"));
            DataStoreException withNPE = new DataStoreException("NPE Error", new NullPointerException("Null value"));
            DataStoreException withCustom = new DataStoreException("Custom Error", new FessSystemException("System error"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
            byte[] buffer = new byte[1000];
            int numThreads = 10;
            Thread[] threads = new Thread[numThreads];
    
            // When - multiple threads calling methods simultaneously
            for (int i = 0; i < numThreads; i++) {
                final int threadIndex = i;
                threads[i] = new Thread(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

            final String[] loggerNames = loggerNamePrefix != null
                    ? Arrays.stream(loggerNamePrefix.split(",")).map(String::trim).filter(s -> s.length() > 0).toArray(n -> new String[n])
                    : new String[0];
            return new ErrorToWarnRewritePolicy(loggerNames);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top