Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 2,768 for Add (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

          derivedFeatures.add(CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION);
        }
        // add the intersection of CollectionFeature.values() and mapFeatures
        for (CollectionFeature feature : CollectionFeature.values()) {
          if (mapFeatures.contains(feature)) {
            derivedFeatures.add(feature);
          }
        }
        // add the intersection of CollectionSize.values() and mapFeatures
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        AtomicInteger addCalls = new AtomicInteger();
        Multiset<String> multiset =
            new NoRemoveMultiset<String>() {
              @Override
              public int add(String element, int occurrences) {
                addCalls.incrementAndGet();
                return super.add(element, occurrences);
              }
            };
        ImmutableMultiset<String> adds =
            new ImmutableMultiset.Builder<String>().addCopies("x", 10).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. helm-releases/minio-5.0.7.tgz

    if it does not exist if ! checkSvcacctExists ; then echo "Creating svcacct '$SVCACCT'" # Check if policy file is define if [ -z $FILENAME ]; then ${MC} admin user svcacct add --access-key $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --secret-key $(tail -n1 $MINIO_ACCESSKEY_SECRETKEY_TMP) myminio $USER else ${MC} admin user svcacct add --access-key $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --secret-key $(tail -n1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --policy /config/$FILENAME.json myminio $USER fi else echo...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 13 10:37:23 GMT 2023
    - 20.3K bytes
    - Click Count (0)
  4. internal/event/rules.go

    		}
    
    		pattern += suffix
    	}
    
    	pattern = strings.ReplaceAll(pattern, "**", "*")
    
    	return pattern
    }
    
    // Rules - event rules
    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. internal/logger/logger.go

    	defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator)
    	defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator)
    
    	// Add trim string "{GOROOT}/src/" into trimStrings
    	trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
    
    	// Add all possible path from GOPATH=path1:path2...:pathN
    	// as "{path#}/src/" into trimStrings
    	for _, goPathString := range goPathList {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

                    .forUseAtConfigurationTime()
                    .getOrElse("https://github.com/" + remoteRepo + "/elasticsearch.git");
                addRemote.setCommandLine(asList("git", "remote", "add", remoteRepo, remoteRepoUrl));
            });
    
            TaskProvider<LoggedExec> fetchLatestTaskProvider = tasks.register("fetchLatest", LoggedExec.class, fetchLatest -> {
                var gitFetchLatest = project.getProviders()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

    import org.apache.maven.model.Repository;
    import org.apache.maven.model.building.ModelSource;
    
    /**
     * Resolves a POM from its coordinates. During the build process, the
     * {@link org.apache.maven.model.building.ModelBuilder} will add any relevant repositories to the model resolver. In
     * other words, the model resolver is stateful and should not be reused across multiple model building requests.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

            new ImmutableList.Builder<String>().add("a").add("b").add("a").add("c").build();
        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
      @GwtIncompatible // Builder impl
      public void testBuilderForceCopy() {
        ImmutableList.Builder<Integer> builder = ImmutableList.builder();
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. CLAUDE.md

    2. Write implementation following existing patterns
    3. Add comprehensive tests
    4. Run `mvn formatter:format license:format test`
    5. Update JavaDoc for changed/new classes
    
    **Principles:**
    - Avoid over-engineering - keep solutions simple
    - Only expose necessary public APIs
    - Validate parameters with `Objects.requireNonNull()`
    - Provide detailed error messages with context
    - Add logging with contextual information
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top