Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1491 - 1500 of 5,478 for newA (0.02 seconds)

  1. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

      /** Returns a new no-op {@code RemovalListener}. */
      static <K, V> NullRemovalListener<K, V> nullRemovalListener() {
        return new NullRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link QueuingRemovalListener}. */
      @GwtIncompatible // ConcurrentLinkedQueue
      static <K, V> QueuingRemovalListener<K, V> queuingRemovalListener() {
        return new QueuingRemovalListener<>();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/Service.java

     * #stopAsync()} lifecycle methods to transition between states. Example services include
     * webservers, RPC servers and timers.
     *
     * <p>The normal lifecycle of a service is:
     *
     * <ul>
     *   <li>{@linkplain State#NEW NEW} -&gt;
     *   <li>{@linkplain State#STARTING STARTING} -&gt;
     *   <li>{@linkplain State#RUNNING RUNNING} -&gt;
     *   <li>{@linkplain State#STOPPING STOPPING} -&gt;
     *   <li>{@linkplain State#TERMINATED TERMINATED}
     * </ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      protected Map<String, String> makeEmptyMap() {
        Map<String, Integer> underlying = new HashMap<>();
        return transformValues(
            new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
        underlying.put("b", 2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
            AtomicInteger successCount = new AtomicInteger(0);
            List<Exception> exceptions = new ArrayList<>();
    
            // When - Multiple threads get and release buffers
            for (int t = 0; t < threadCount; t++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

    /**
     * Test RDMA configuration properties
     */
    public class RdmaConfigurationTest {
    
        @Test
        public void testDefaultRdmaConfiguration() throws CIFSException {
            Properties props = new Properties();
            PropertyConfiguration config = new PropertyConfiguration(props);
    
            // Test default values
            assertFalse(config.isUseRDMA(), "RDMA should be disabled by default");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER =
          new CacheLoader<Key, String>() {
            @Override
            public String load(Key key) {
              return key.toString();
            }
          };
    
      private CacheBuilderFactory factoryWithAllKeyStrengths() {
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            // -1 == 0xFFFF
            int negativeSid = -1;
            SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid);
            byte[] dst = new byte[2];
            int written = neg.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, written);
            assertArrayEquals(new byte[] { (byte) 0xFF, (byte) 0xFF }, dst, "Negative sid should wrap to 0xFFFF");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            MockitoAnnotations.openMocks(this);
            echoResponse = new Smb2EchoResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
                Smb2EchoResponse response = new Smb2EchoResponse(mockConfig);
                assertNotNull(response);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                return new SetWithResolutionResult(null, new LinkedHashSet<>());
            }
    
            scopesToCollect = new HashSet<>(scopesToCollect);
            scopesToCollect.addAll(scopesToResolve);
    
            DependencyFilter collectionFilter = new ScopeDependencyFilter(null, negate(scopesToCollect));
            DependencyFilter resolutionFilter = new ScopeDependencyFilter(null, negate(scopesToResolve));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

            int start = bufferIndex;
    
            if (len < 32) {
                throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len);
            }
    
            // Read lease V1 data (32 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top