Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2551 - 2560 of 4,785 for New (0.04 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

          final Iterable<T> iterable) {
        checkNotNull(iterable);
    
        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return (iterable instanceof Queue)
                ? new ConsumingQueueIterator<>((Queue<T>) iterable)
                : Iterators.consumingIterator(iterable.iterator());
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. internal/cachevalue/cache_test.go

    	sl := time.NewTimer(time.Second)
    	defer sl.Stop()
    
    	select {
    	case <-sl.C:
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    
    	return nil
    }
    
    func TestCacheCtx(t *testing.T) {
    	cache := New[time.Time]()
    	t.Parallel()
    	cache.InitOnce(2*time.Second, Opts{},
    		func(ctx context.Context) (time.Time, error) {
    			return time.Now(), slowCaller(ctx)
    		},
    	)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class BigIntegerMathBenchmark {
      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final int[] slowFactorials = new int[ARRAY_SIZE];
      private static final int[] binomials = new int[ARRAY_SIZE];
    
      @Param({"50", "1000", "10000"})
      int factorialBound;
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileAttributesTest.java

            }
        }
    
    
        public void assertCloseTime ( long timeMs ) {
            if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) {
                assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false);
            }
        }
    
    
        @Test
        public void testLastModified () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbResource f = createTestFile() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

      private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable {
        final Table<R, C, V> delegate = HashBasedTable.create();
        public final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                    .path(nonNull(path, "path cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ProjectBuilderRequestBuilder builder() {
            return new ProjectBuilderRequestBuilder();
        }
    
        @NotThreadSafe
        class ProjectBuilderRequestBuilder {
            Session session;
            Path path;
            Source source;
            boolean allowStubModel;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

    class TypeNameResolverTest extends Specification {
        final ClassMetaDataRepository<ClassMetaData> metaDataRepository = Mock()
        final ClassMetaData classMetaData = Mock()
        final TypeNameResolver typeNameResolver = new TypeNameResolver(metaDataRepository)
    
        def resolvesFullyQualifiedClassName() {
            when:
            def name = typeNameResolver.resolve('org.gradle.SomeClass', classMetaData)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/FileAccessException.java

            super(messageCode, args);
        }
    
        public FileAccessException(final String messageCode, final Throwable cause) {
            super(messageCode, new Object[0], cause);
        }
    
        public FileAccessException(final String messageCode) {
            super(messageCode, new Object[0]);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                    if (this.exclusions.isEmpty()) {
                        this.exclusions = new ArrayList<>();
                    }
                    this.exclusions.add(exclusion);
                }
                return this;
            }
    
            public DependencyCoordinatesFactoryRequest build() {
                return new DefaultDependencyCoordinatesFactoryRequest(
                        session,
                        groupId,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. RELEASE_BRANCHES.md

    Release branches have a name of `release-MAJOR.MINOR`. Essential Istio repositories are branched from master roughly 4
    weeks prior to a new release. The `istio/istio.io` repository does not get branched until the release is ready
    for publication.
    
    This document outlines getting in new features after a new branch has been cut and the process for getting a PR
    merged in before and after the first public release.
    
    # Feature Freeze
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 16 21:14:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top