Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 218 for maxsize (0.2 sec)

  1. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixtureTest.java

            CollectingConditionEvents events = new CollectingConditionEvents();
            archCondition.check(javaClass, events);
            assertThat(events.getAllEvents()).hasSize(1);
            return events.getAllEvents().iterator().next();
        }
    
        @Nonnull
        private ConditionEvent checkThatHasOnlyAllowedTypes(String methodName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    	}
    }
    
    // fakeTerminalSizeQueue implements TerminalSizeQueue, returning a random set of
    // "maxSizes" number of TerminalSizes, storing the TerminalSizes in "sizes" slice.
    type fakeTerminalSizeQueue struct {
    	maxSizes      int
    	terminalSizes []remotecommand.TerminalSize
    }
    
    // newTerminalSizeQueue returns a pointer to a fakeTerminalSizeQueue passing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/language/language.go

    		if tt.RegionID == 0 {
    			return Script{scr}, High
    		}
    		sc, c = scr, High
    	}
    	if tag, err := tt.Maximize(); err == nil {
    		if tag.ScriptID != sc {
    			sc, c = tag.ScriptID, Low
    		}
    	} else {
    		tt, _ = canonicalize(Deprecated|Macro, tt)
    		if tag, err := tt.Maximize(); err == nil && tag.ScriptID != sc {
    			sc, c = tag.ScriptID, Low
    		}
    	}
    	return Script{sc}, c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildOperationsAssertions.kt

            return this
        }
    
        fun assertNumberOfCompileAvoidanceWarnings(n: Int): BuildOperationsAssertions {
            MatcherAssert.assertThat(compileAvoidanceWarnings, org.hamcrest.Matchers.hasSize(n))
            return this
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt

                        assertCacheHits(run)
                    }
                }
            }
            val daemonFixture = DaemonLogsAnalyzer.newAnalyzer(executer.daemonBaseDir)
            assertThat(daemonFixture.daemons).hasSize(1)
        }
    
        @Test
        fun `writes build cache entries`() {
            expectCacheEntriesWritten(2, false)
        }
    
        @Test
        fun `writes no build cache entries when script caching disabled`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

        Preconditions.checkArgument(expectedSize >= 0, "Expected size must be >= 0");
    
        // Save expectedSize for use in allocArrays()
        this.metadata = Ints.constrainToRange(expectedSize, 1, CompactHashing.MAX_SIZE);
      }
    
      /** Returns whether arrays need to be allocated. */
      boolean needsAllocArrays() {
        return table == null;
      }
    
      /** Handle lazy allocation of arrays. */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExcludeTest.groovy

        private final Set<ExcludeSpec> cached = new HashSet<>()
        private final List<ExcludeSpec> cachedLinear = new ArrayList<>(MAX_CACHED)
        private int depth
    
        /**
         * This test has been baked to maximize code coverage of {@link DefaultCompositeExclude}
         */
        def "compares specs"() {
            expect:
            (500_000).times {
                ExcludeSpec a = next()
                ExcludeSpec b = next()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/TestUtil.java

       * contains(). Verify that these sets are consistent with the elements of their iterator.
       */
      @CanIgnoreReturnValue
      static <T> Set<T> sanityCheckSet(Set<T> set) {
        assertThat(set).hasSize(Iterators.size(set.iterator()));
        for (Object element : set) {
          assertThat(set).contains(element);
        }
        assertThat(set).doesNotContain(new Object());
        assertThat(set).isEqualTo(ImmutableSet.copyOf(set));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    extensions and documentation located in this repository.
    For other extensions and components, see the 
    [Gradle Community Resources](https://gradle.org/resources/).
    
    This guide will help you to...
    
    * maximize the chance of your changes being accepted
    * work on the Gradle code base
    * get help if you encounter trouble
    
    ## Before you start
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java

        Set<Callable<String>> tasks = Collections.singleton(() -> "invokeAll");
    
        List<Future<String>> result = executorService.invokeAll(tasks, Duration.ofDays(365));
    
        assertThat(result).hasSize(1);
        assertThat(Futures.getDone(result.get(0))).isEqualTo("invokeAll");
        assertThat(recordedTasks).isSameInstanceAs(tasks);
        assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 02 12:45:23 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top