Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2381 - 2390 of 4,619 for _new (0.02 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

        UnixSocketChannel channel = UnixSocketChannel.open();
        return new TunnelingUnixSocket(path, channel);
      }
    
      @Override public Socket createSocket(String host, int port) throws IOException {
        Socket result = createSocket();
    
        try {
          result.connect(new InetSocketAddress(host, port));
        } catch (IOException e) {
          result.close();
          throw e;
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 03 21:33:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

        assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + JOINER.join(map.values()) + "]", map.values().toString());
    
        assertEquals(new HashSet<>(map.entrySet()), map.entrySet());
        assertEquals(new HashSet<>(map.keySet()), map.keySet());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
         * @param access the desired access rights
         * @param policyHandle the policy handle to be populated
         */
        public MsrpcLsarOpenPolicy2(final String server, final int access, final LsaPolicyHandle policyHandle) {
            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

         */
        public static JarInputStream create(final InputStream is) throws IORuntimeException {
            assertArgumentNotNull("is", is);
    
            try {
                return new JarInputStream(is);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Method that wraps exception handling for {@link JarInputStream#getNextJarEntry()}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

        private RequirementMatcherFactory() {}
    
        public static RequirementMatcher createExactMatcher(String provideValue) {
            return new ExactMatcher(provideValue);
        }
    
        public static RequirementMatcher createVersionMatcher(String provideValue) {
            return new VersionMatcher(provideValue);
        }
    
        private static final class ExactMatcher implements RequirementMatcher {
    
            private String provides;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

        private final Object domainsLock = new Object();
    
        private final Map<String, CacheEntry<DfsReferralDataInternal>> dcCache = new HashMap<>();
        private final Object dcLock = new Object();
    
        private CacheEntry<DfsReferralDataInternal> referrals = null;
        private final Object referralsLock = new Object();
    
        /**
         * Constructs a DFS resolver implementation
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TableCollectors.java

        final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>();
        final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create();
    
        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

        Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures());
        if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) {
          return new TestSuite();
        } else {
          return SortedSetTestSuiteBuilder.using(
                  new SetMultimapTestSuiteBuilder.MultimapAsMapGetGenerator<K, V>(
                      parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

    @GwtCompatible
    public final class ArrayBasedEscaperMap {
      /**
       * Returns a new ArrayBasedEscaperMap for creating ArrayBasedCharEscaper or
       * ArrayBasedUnicodeEscaper instances.
       *
       * @param replacements a map of characters to their escaped representations
       */
      public static ArrayBasedEscaperMap create(Map<Character, String> replacements) {
        return new ArrayBasedEscaperMap(createReplacementArray(replacements));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top