Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 4,785 for New (0.01 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                MavenExecutionRequest request, List<MavenProject> projects, Set<String> projectSelectors) {
            Set<MavenProject> resolvedOptionalProjects = new LinkedHashSet<>();
            Set<String> unresolvedOptionalSelectors = new HashSet<>();
            File baseDirectory = getBaseDirectoryFromRequest(request);
            for (String selector : projectSelectors) {
                Optional<MavenProject> optSelectedProject =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

              sumOfSquaresOfDeltas = t;
            }
            return new MeanAndVariance(mean, sumOfSquaresOfDeltas / values.length);
          }
        },
        KNUTH {
          @Override
          MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) {
            if (meanAlgorithm != MeanAlgorithm.KNUTH) {
              throw new SkipThisScenarioException();
            }
            double mean = values[0];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            if ( tc.getConfig().isUseRawNTLM() ) {
                return setupTargetName(tc, host, new NtlmContext(tc, this, doSigning));
            }
    
            try {
                if ( initialToken != null && initialToken.length > 0 ) {
                    NegTokenInit tok = new NegTokenInit(initialToken);
                    if ( log.isDebugEnabled() ) {
                        log.debug("Have initial token " + tok);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  4. tests/named_argument_test.go

    	if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	namedUser.Name1 = "jinzhu-new"
    	namedUser.Name2 = "jinzhu-new2"
    	namedUser.Name3 = "jinzhu-new"
    
    	var result5 NamedUser
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

       * @return a new {@code Striped<Lock>}
       */
      public static Striped<Lock> lock(int stripes) {
        return custom(stripes, PaddedLock::new);
      }
    
      /**
       * Creates a {@code Striped<Lock>} with lazily initialized, weakly referenced locks. Every lock is
       * reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<Lock>}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer_benchmark_test.go

    	"testing"
    )
    
    func BenchmarkRingBuffer_Sync(b *testing.B) {
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            List<ArtifactRepository> repos = new ArrayList<>();
            repos.add(artifactRepositoryFactory.createArtifactRepository(
                    "repo1", "string://url1", new ArtifactRepositoryLayoutStub(), null, null));
            repos.add(artifactRepositoryFactory.createArtifactRepository(
                    "repo2", "string://url2", new ArtifactRepositoryLayoutStub(), null, null));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return filterCollection(unfiltered.get(key), new ValuePredicate(key));
      }
    
      @Override
      Collection<Entry<K, V>> createEntries() {
        return filterCollection(unfiltered.entries(), predicate);
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Iterator<Entry<K, V>> entryIterator() {
        throw new AssertionError("should never be called");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top