Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 6,205 for newA (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        @Override
        public Set<Integer> getImpl() {
          return new HashSet<>(4);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      public void testNewSetMultimap() {
        CountingSupplier<Set<Integer>> factory = new SetSupplier();
        Map<Color, Collection<Integer>> map = new HashMap<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

                throw new GradleException("Detected class file in distribution ('" + file.getName() + "')");
            }
        }
    
        private static boolean zipExists() {
            return new File("/bin/unzip").exists() || new File("/usr/bin/unzip").exists() || new File("/usr/local/bin/unzip").exists();
        }
    
        private static boolean tarExists() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Joiner.java

      public static Joiner on(String separator) {
        return new Joiner(separator);
      }
    
      /** Returns a joiner which automatically places {@code separator} between consecutive elements. */
      public static Joiner on(char separator) {
        return new Joiner(String.valueOf(separator));
      }
    
      private final String separator;
    
      private Joiner(String separator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private final Queue<AuditEntry> auditEntryPool = new ConcurrentLinkedQueue<>();
        private final Queue<StringBuilder> stringBuilderPool = new ConcurrentLinkedQueue<>();
        private final Queue<HashMap<String, Object>> mapPool = new ConcurrentLinkedQueue<>();
    
        // Asynchronous logging
        private final BlockingQueue<AuditEntry> logQueue = new LinkedBlockingQueue<>(10000); // Bounded queue
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

            return new LookupContext(invokerRequest, true, invokerRequest.options().orElse(null));
        }
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
    
        @Override
        protected int execute(LookupContext context) throws Exception {
            // set up JLine built-in commands
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  6. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return filterCollection(unfiltered.get(key), new ValuePredicate(key));
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return filterCollection(unfiltered.entries(), predicate);
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTester.java

      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
                new ByteSource() {
                  @Override
                  public InputStream openStream() throws IOException {
                    return new RandomAmountInputStream(
                        new ByteArrayInputStream(expected), new Random());
                  }
                }));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  9. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top