Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,683 for for (0.17 sec)

  1. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          }
        }
    
        public void testNavigableSubSet() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              for (int j = i + 1; j < 10; j++) {
                for (boolean fromInclusive : ImmutableList.of(true, false)) {
                  for (boolean toInclusive : ImmutableList.of(true, false)) {
                    NavigableSet<Integer> filterSubset =
                        filter(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

      public void testZeroDivIsAlwaysZero() {
        for (long q : NONZERO_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertEquals(0L, LongMath.divide(0L, q, mode));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testDivByZeroAlwaysFails() {
        for (long p : ALL_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

          for (int l : TEST_INTS) {
            UnsignedInteger value = UnsignedInteger.fromIntBits(l);
            assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix));
          }
        }
      }
    
      public void testToStringRadixQuick() {
        int[] radices = {2, 3, 5, 7, 10, 12, 16, 21, 31, 36};
        for (int radix : radices) {
          for (int l : TEST_INTS) {
            UnsignedInteger value = UnsignedInteger.fromIntBits(l);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
        long doubleConversionTest = 0xfffffffffffff402L;
    
        for (long i = -3; i <= 3; i++) {
          testLongsBuilder
              .add(i)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    	endpoints := s.getEndpoints()
    	for i := range s.setIndexes {
    		for j := range s.setIndexes[i] {
    			sets = append(sets, endpoints[k:s.setIndexes[i][j]+k])
    			k = s.setIndexes[i][j] + k
    		}
    	}
    
    	return sets
    }
    
    // Return the total size for each argument patterns.
    func getTotalSizes(argPatterns []ellipses.ArgPattern) []uint64 {
    	var totalSizes []uint64
    	for _, argPattern := range argPatterns {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    
      public void testCreateEmptyRangeOpenClosedSucceeds() {
        for (Integer i : IN_ORDER_VALUES) {
          GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED);
          for (Integer j : IN_ORDER_VALUES) {
            assertFalse(range.contains(j));
          }
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    ```
    
    ### Include the custom docs for static files
    
    And the same way as with a custom CDN, now you can create the *path operations* for the custom docs.
    
    Again, you can re-use FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
    
    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. internal/grid/debug.go

    		}
    		for _, server := range t.Servers {
    			server.Close()
    		}
    		for _, listener := range t.Listeners {
    			listener.Close()
    		}
    	})
    }
    
    // WaitAllConnect will wait for all connections to be established.
    func (t *TestGrid) WaitAllConnect(ctx context.Context) {
    	for _, manager := range t.Managers {
    		for _, remote := range manager.Targets() {
    			if manager.HostName() == remote {
    				continue
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. cmd/bucket-replication-stats.go

    	qTimer          *time.Ticker // ticker for calculating queue stats
    }
    
    func (r *ReplicationStats) trackEWMA() {
    	for {
    		select {
    		case <-r.movingAvgTicker.C:
    			r.updateMovingAvg()
    		case <-GlobalContext.Done():
    			return
    		}
    	}
    }
    
    func (r *ReplicationStats) updateMovingAvg() {
    	r.RLock()
    	for _, s := range r.Cache {
    		for _, st := range s.Stats {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            }
          }
        }
      }
    
      /**
       * Performs {@link NullPointerTester} checks for all top-level classes in the package. For a class
       * {@code C}
       *
       * <ul>
       *   <li>All visible static methods are checked such that passing null for any parameter that's
       *       not annotated nullable (according to the rules of {@link NullPointerTester}) should throw
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
Back to top