Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 2,439 for ADD (0.01 seconds)

  1. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = new LinkedList<>();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
          array[i] = value;
          arrayList.add(value);
          linkedList.add(value);
        }
      }
    
      @Benchmark
      int arrayIndexed(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (int index = 0; index < size; index++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            // Create chain of transformers
            List<Transformer> transformerChain = new ArrayList<>();
            transformerChain.add(new TestTransformer("first"));
            transformerChain.add(new TestTransformer("second"));
            transformerChain.add(new TestTransformer("third"));
    
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com");
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 28K bytes
    - Click Count (0)
  3. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java

        }
    
        /**
         * Sets the state of the "add default entities" flag.
         *
         * @param addDefaultEntities a addDefaultEntities object.
         */
        public void setAddDefaultEntities(boolean addDefaultEntities) {
            delegate.setAddDefaultEntities(addDefaultEntities);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat May 31 10:30:45 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListeningExecutorService e = newDirectExecutorService();
        List<Callable<Integer>> l = new ArrayList<>();
        l.add(
            new Callable<Integer>() {
              @Override
              public Integer call() {
                throw new ArithmeticException("/ by zero");
              }
            });
        l.add(null);
        try {
          invokeAnyImpl(e, l, false, 0, NANOSECONDS);
          fail();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      static <E> ArrayList<E> generateArrayList(@Nullable E freshElement) {
        ArrayList<E> list = new ArrayList<>();
        list.add(freshElement);
        return list;
      }
    
      @Generates
      static <E> LinkedList<E> generateLinkedList(@Nullable E freshElement) {
        LinkedList<E> list = new LinkedList<>();
        list.add(freshElement);
        return list;
      }
    
      @Generates
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

        public List<String> convert(final String text, final String field, final String... lang) {
            final List<String> list = new ArrayList<>();
    
            final List<StringBuilder> bufList = new ArrayList<>();
            bufList.add(new StringBuilder());
            for (int i = 0; i < text.length();) {
                String[] alphabets;
                if (i + 1 < text.length() && CONVERT_MAP.get(text.substring(i, i + 2)) != null) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            PlexusConfiguration[] mojoConfigurations = c.getChild("mojos").getChildren("mojo");
    
            for (PlexusConfiguration component : mojoConfigurations) {
                mojos.add(buildComponentDescriptor(component, pluginDescriptor));
            }
            return mojos;
        }
    
        private boolean extractInheritedByDefault(PlexusConfiguration c) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    addCompileAllTasks()
    configureSourcesVariant()
    configureTests()
    
    tasks.registerCITestDistributionLifecycleTasks()
    
    fun configureCompileDefaults() {
        tasks.withType<JavaCompile>().configureEach {
            options.compilerArgs.add("-parameters")
            configureCompileTask(options)
        }
        tasks.withType<GroovyCompile>().configureEach {
            groovyOptions.encoding = "utf-8"
            configureCompileTask(options)
        }
    }
    
    /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                        try {
                            Version ver = versionScheme.parseVersion(v.getKey());
                            if (versionConstraint.containsVersion(ver)) {
                                versions.add(ver);
                                result.setRepository(ver, v.getValue());
                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. cmd/metrics-v3-handler.go

    	// Add tracing to the prom. handler
    	tracedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsV3"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		innerHandler.ServeHTTP(w, r)
    	})
    
    	// Add authentication
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top