Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 173 for combinations (0.41 sec)

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

                      public boolean apply(Set<Integer> input) {
                        return input.size() == size;
                      }
                    });
            assertWithMessage("Sets.combinations(%s, %s)", sampleSet, k)
                .that(Sets.combinations(sampleSet, k))
                .containsExactlyElementsIn(expected)
                .inOrder();
          }
        }
      }
    
      private static <E> Set<E> set(E... elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  2. src/hash/maphash/smhasher_test.go

    	if k == 0 {
    		return
    	}
    	for j := i; j < len(b)*8; j++ {
    		b[j/8] |= byte(1 << uint(j&7))
    		setbits(h, b, j+1, k-1)
    		b[j/8] &= byte(^(1 << uint(j&7)))
    	}
    }
    
    // Test all possible combinations of n blocks from the set s.
    // "permutation" is a bad name here, but it is what Smhasher uses.
    func TestSmhasherPermutation(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("Too slow on wasm")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            where:
            [operator, orElseKind] << [
                ['systemProperty', 'environmentVariable'],
                ['primitive', 'provider', 'task output']
            ].combinations()
            orElseArgument = orElseKind == 'primitive'
                ? '"absent"'
                : orElseKind == 'provider'
                ? 'providers.provider { "absent" }'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. src/index/suffixarray/suffixarray_test.go

    			if n > 8 && testing.Short() {
    				break
    			}
    			x[n] = 0 // for sais.New
    			testRec(t, x[:n], 0, 3, &numFail, build)
    		}
    	})
    }
    
    // testRec fills x[i:] with all possible combinations of values in [1,max]
    // and then calls testSA(t, x, build) for each one.
    func testRec(t *testing.T, x []byte, i, max int, numFail *int, build func([]byte) []int) {
    	if i < len(x) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    And you could have a single dependency that requires several other dependencies with `yield`, etc.
    
    You can have any combinations of dependencies that you want.
    
    **FastAPI** will make sure everything is run in the correct order.
    
    !!! note "Technical Details"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        double actualReportedFpp = bf.expectedFpp();
        assertEquals(expectedReportedFpp, actualReportedFpp, 0.00033);
      }
    
      /** Sanity checking with many combinations of false positive rates and expected insertions */
      public void testBasic() {
        for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

        @Issue("https://github.com/gradle/gradle/issues/3537")
        @ToBeFixedForIsolatedProjects(because = "subprojects")
        def "concurrent access to local cache works"() {
            String[] projectNames = GroovyCollections.combinations(('a'..'p'), ('a'..'p'), ('a'..'d'))*.join("")
            println "Running with ${projectNames.size()} projects"
            createDirs(projectNames)
            projectNames.each { projectName ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    			continue
    		}
    		varID = append(varID, v)
    		variant = append(variant, scan.token)
    		if !needSort {
    			if last < int(v) {
    				last = int(v)
    			} else {
    				needSort = true
    				// There is no legal combinations of more than 7 variants
    				// (and this is by no means a useful sequence).
    				const maxVariants = 8
    				if len(varID) > maxVariants {
    					break
    				}
    			}
    		}
    		end = scan.end
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/concepts.md

    Here are some possible combinations and strategies:
    
    * **Gunicorn** managing **Uvicorn workers**
        * Gunicorn would be the **process manager** listening on the **IP** and **port**, the replication would be by having **multiple Uvicorn worker processes**.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    		{"abc/def/..", "abc"},
    		{"abc/def/../..", "."},
    		{"/abc/def/../..", "/"},
    		{"abc/def/../../..", ".."},
    		{"/abc/def/../../..", "/"},
    		{"abc/def/../../../ghi/jkl/../../../mno", "../../mno"},
    
    		// Combinations
    		{"abc/./../def", "def"},
    		{"abc//./../def", "def"},
    		{"abc/../../././../def", "../../def"},
    	}
    	for _, test := range cleantests {
    		want := test.path != test.result
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top