Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2011 - 2020 of 2,768 for Add (0.03 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            // collect drop list
            for (MetadataGraphVertex v : g.getVertices()) {
                if (!visited.contains(v)) {
                    dropList.add(v);
                }
            }
    
            if (dropList.isEmpty()) {
                return g;
            }
    
            // now - drop vertices
            TreeSet<MetadataGraphVertex> vertices = g.getVertices();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                }
    
                if (build.getFilters() != null) {
                    List<String> filters = new ArrayList<>();
                    for (String filter : build.getFilters()) {
                        filters.add(alignToBaseDirectory(filter, basedir));
                    }
                    build.setFilters(filters);
                }
    
                build.setOutputDirectory(alignToBaseDirectory(build.getOutputDirectory(), basedir));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                for (int i = 0, n = tgt.size(); i < n; i++) {
                    indices.add(i);
                }
                for (int i = 0, n = src.size(); i < n; i++) {
                    String s = src.get(i);
                    if (!excludes.contains(s)) {
                        merged.add(s);
                        indices.add(~i);
                    }
                }
                target.setModules(merged);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    if (ff != null && !ff.accept(f)) {
                        continue;
                    }
                    if (files) {
                        list.add(f);
                    } else {
                        list.add(name);
                    }
                }
            }
        }
    
        FileEntry[] doDfsRootEnum() throws IOException {
            MsrpcDfsRootEnum rpc;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            doc1.put("title", "Test Document 1");
            doc1.put("content", "Test content 1");
            documentItems.add(doc1);
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Test Document 2");
            doc2.put("content", "Test content 2");
            documentItems.add(doc2);
    
            searchRenderData.setDocumentItems(documentItems);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  6. tests/prepared_stmt_test.go

    	AssertEqual(t, err, nil)
    
    	sqlDB, _ := tx.DB()
    	sqlDB.SetMaxOpenConns(1)
    
    	tx = tx.Session(&gorm.Session{PrepareStmt: true})
    
    	wg := sync.WaitGroup{}
    	for i := 0; i < 100; i++ {
    		wg.Add(1)
    		go func() {
    			user := User{Name: "jinzhu"}
    			tx.Create(&user)
    
    			var result User
    			tx.First(&result)
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
          if (!fetchedUrls.add(url)) {
            continue;
          }
    
          Thread currentThread = Thread.currentThread();
          String originalName = currentThread.getName();
          currentThread.setName("Crawler " + url);
          try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        int alpha = size - nonAlpha;
    
        List<Character> chars = Lists.newArrayListWithCapacity(size);
        for (int i = 0; i < alpha; i++) {
          chars.add(randomAlpha());
        }
        for (int i = 0; i < nonAlpha; i++) {
          chars.add(randomNonAlpha());
        }
        Collections.shuffle(chars, random);
        char[] array = Chars.toArray(chars);
        this.testString = new String(array);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Object newValue = new Object();
            assertThat(cache.asMap().put(entry.getKey(), newValue)).isSameInstanceAs(entry.getValue());
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertThat(cache.asMap().put(newKey, entry.getValue())).isNull();
            // this getUnchecked() call shouldn't be a cache miss; verified below
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // Create target information with timestamp for NTLMv2
            List<AvPair> pairs = new LinkedList<>();
            pairs.add(new AvTargetName("TARGET"));
            pairs.add(new AvTimestamp(System.currentTimeMillis()));
            pairs.add(new AvFlags(0));
            pairs.add(new AvSingleHost(new byte[48])); // Dummy single host data
    
            type2.setTargetInformation(AvPairs.encode(pairs));
    
            return type2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
Back to Top