Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1821 - 1830 of 2,768 for Add (0.07 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherSetWithDifferentElements() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(getSubjectGenerator().samples().e3());
    
        assertFalse(
            "A Set should not equal another Set containing different elements.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

              @Override
              public void execute(Runnable task) {
                manualExecutorTask[0] = task;
              }
            };
    
        results.add(serializer.submit(Callables.returning(null), manualExecutor));
        Future<?>[] thingToCancel = new Future<?>[1];
        results.add(
            serializer.submit(
                () -> {
                  thingToCancel[0].cancel(false);
                  return null;
                },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoDbm.java

            return _columnSessionId;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnCreatedTime());
            ls.add(columnExpiredTime());
            ls.add(columnName());
            ls.add(columnSessionId());
            return ls;
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
        wrappedSet.add(1);
        wrappedSet.add(2);
        wrappedSet.add(3);
    
        copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet);
        setToTest =
            InvalidatableSet.of(wrappedSet, () -> wrappedSet.contains(1), () -> 1 + "is not present");
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        list.add(IntItem.ZERO);
                    } else {
                        list.add(parseItem(isCombination, isDigit, version.substring(startIndex, i)));
                    }
                    isCombination = false;
                    startIndex = i + 1;
                } else if (c == '-') {
                    if (i == startIndex) {
                        list.add(IntItem.ZERO);
                    } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        Vertex addVertex(String label) {
            return vertices.computeIfAbsent(label, Vertex::new);
        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionDownloadPluginFuncTest.groovy

                              attribute(ArtifactAttributes.ARTIFACT_FORMAT, "directory")
                        }
                    }
                }
                artifacts {
                    it.add("default", buildTar)
                    it.add("extracted", buildExpanded)
                }
            """
        }
    
        String getTestArchiveProjectName() {
            def archSuffix = Architecture.current() == Architecture.AARCH64 ? '-aarch64' : ''
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

                            }
                        } else if (langs.length > 1) {
                            readings.add(text.toUpperCase() + "_" + lang);
                        } else {
                            readings.add(text.toUpperCase());
                        }
                    }
                }
    
                return readings;
            }
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. internal/logger/target/http/http.go

    func (h *Target) startQueueProcessor(ctx context.Context, mainWorker bool) {
    	h.logChMu.RLock()
    	if h.logCh == nil {
    		h.logChMu.RUnlock()
    		return
    	}
    	h.logChMu.RUnlock()
    
    	h.workers.Add(1)
    	defer h.workers.Add(-1)
    
    	h.wg.Add(1)
    	defer h.wg.Done()
    
    	entries := make([]any, 0)
    	name := h.Name()
    
    	defer func() {
    		// re-load the global buffer pointer
    		// in case it was modified by a new target.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            @Override
            public void update(User user) {
                updateCalls.add(user);
                if (updateThrowsException) {
                    throw new RuntimeException("Update failed");
                }
            }
    
            @Override
            public void delete(User user) {
                deleteCalls.add(user);
                if (deleteThrowsException) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top