Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1771 - 1780 of 6,020 for new1 (0.11 seconds)

  1. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      /**
       * Creates a new, empty {@code ConcurrentHashMultiset} using the default initial capacity, load
       * factor, and concurrency settings.
       */
      public static <E> ConcurrentHashMultiset<E> create() {
        return create(new ConcurrentHashMap<>());
      }
    
      /**
       * Creates a new {@code ConcurrentHashMultiset} containing the specified elements, using the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java

    public class ReservedPortRange {
        private final int startPort;
        private final int endPort;
        private final Lock lock = new ReentrantLock();
        private PortDetector portDetector = new DefaultPortDetector();
        private final List<Integer> allocated = new ArrayList<Integer>();
        private Map<String, Integer> allocatedPortsId = new HashMap<>();
        private int current;
    
        public ReservedPortRange(int startPort, int endPort) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

        TypeResolver resolver =
            new TypeResolver()
                .where(
                    ImmutableMap.of(
                        new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType));
        // If there's any type error, we'd report now rather than later.
        return new SimpleTypeToken<>(resolver.resolveType(runtimeType));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbOperationException.java

            public static final RetryPolicy DEFAULT = new RetryPolicy(3, 1000, 30000, 2.0, true);
            public static final RetryPolicy AGGRESSIVE = new RetryPolicy(5, 500, 60000, 1.5, true);
            public static final RetryPolicy CONSERVATIVE = new RetryPolicy(2, 2000, 10000, 3.0, true);
            public static final RetryPolicy NO_RETRY = new RetryPolicy(1, 0, 0, 1.0, false);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

            if (c.getConfig().isTraceResourceUsage()) {
                return new SmbTreeConnectionTrace(c);
            }
            return new SmbTreeConnection(c);
        }
    
        static SmbTreeConnection create(final SmbTreeConnection c) {
            if (c.ctx.getConfig().isTraceResourceUsage()) {
                return new SmbTreeConnectionTrace(c);
            }
            return new SmbTreeConnection(c);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            }
        }
    
        /**
         * Create a new directory change notifier
         *
         * @param manager directory lease manager
         */
        public DirectoryChangeNotifier(DirectoryLeaseManager manager) {
            this.leaseManager = manager;
            this.activeWatchers = new ConcurrentHashMap<>();
            this.failureCounts = new ConcurrentHashMap<>();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      @AndroidIncompatible // problem with suite builders on Android
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(MutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a {@link HashMap} using the
       * default initial capacity and load factor.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create() {
        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            this.lmHash = new byte[(password.length() + 1) * 2];
                            this.ntHash = new byte[0];
                            writeString(password, this.lmHash, 0);
                        }
                    }
    
                } else if (cred instanceof byte[]) {
                    this.blob = (byte[]) cred;
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top