Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 2,768 for Add (0.01 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = new ArrayList<>();
        for (int i = 0; i < n; i++) {
          callables.add(Callables.returning(RESULT_VALUE + i));
        }
        return callables;
      }
    
      private static final class WrappedCallable<T> implements Callable<T> {
        private final Callable<T> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        directedGraph.removeEdge(N1, N2);
        directedGraph.removeEdge(N2, N1);
        containsExactlySanityCheck(edges);
    
        assertThrows(
            UnsupportedOperationException.class, () -> edges.add(EndpointPair.ordered(N1, N2)));
      }
    
      @Test
      public void endpointPair_undirected_contains() {
        MutableGraph<Integer> undirectedGraph = GraphBuilder.undirected().allowsSelfLoops(true).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

              push(stack, collector.combiner().apply(left, right));
            }
            return pop(stack);
          }
    
          <E extends @Nullable Object> void push(List<E> stack, E value) {
            stack.add(value);
          }
    
          <E extends @Nullable Object> E pop(List<E> stack) {
            return stack.remove(stack.size() - 1);
          }
        };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

                    } catch (IOException e) {
                      throw new UncheckedIOException(e);
                    }
                  }
                }
              };
          references.add(reference);
          return myServer;
        }
    
        @Override
        public void close() throws IOException {
          serverSocket.close();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                if (exclusion != null) {
                    if (this.exclusions.isEmpty()) {
                        this.exclusions = new ArrayList<>();
                    }
                    this.exclusions.add(exclusion);
                }
                return this;
            }
    
            public DependencyCoordinatesFactoryRequest build() {
                return new DefaultDependencyCoordinatesFactoryRequest(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            List<MojoExecution> mojoExecutions = phaseBindings.computeIfAbsent(phaseId, k -> new ArrayList<>());
    
            mojoExecutions.add(mojoExecution);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    if (lineNum == 0) {
                        lineNum = Integer.parseInt(matcher.group(1));
                        list.clear();
                    }
                    list.add(matcher.group(2));
                } else {
                    list.add(line);
                }
            }
            if (lineNum == 0 || list.isEmpty()) {
                return "<pre class=\"" + style + "\">" + input + "</pre>";
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  8. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                      protected Collection<String> create(String[] elements) {
                        List<Integer> rowKeys = new ArrayList<>();
                        for (int i = 0; i < elements.length; i++) {
                          rowKeys.add(i);
                        }
                        Table<Integer, Character, String> table =
                            ArrayTable.create(rowKeys, ImmutableList.of('a'));
                        populateForValues(table, elements);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                      protected Collection<String> create(String[] elements) {
                        List<Integer> rowKeys = new ArrayList<>();
                        for (int i = 0; i < elements.length; i++) {
                          rowKeys.add(i);
                        }
                        Table<Integer, Character, String> table =
                            ArrayTable.create(rowKeys, ImmutableList.of('a'));
                        populateForValues(table, elements);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. cmd/metacache-stream.go

    		}
    		if w.mw == nil {
    			return nil, errors.New("metacacheWriter: writer not initialized")
    		}
    	}
    	objs := make(chan metaCacheEntry, 100)
    	w.streamErr = nil
    	w.streamWg.Add(1)
    	go func() {
    		defer w.streamWg.Done()
    		for o := range objs {
    			if len(o.name) == 0 || w.streamErr != nil {
    				continue
    			}
    			// Indicate EOS
    			err := w.mw.WriteBool(true)
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
Back to Top