- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 540 for num1 (0.06 sec)
-
pkg/wasm/httpfetcher_test.go
}{ { name: "download ok", handler: func(w http.ResponseWriter, r *http.Request, num int) { fmt.Fprintln(w, "wasm") }, timeout: 5 * time.Second, wantNumRequest: 1, }, { name: "download retry", handler: func(w http.ResponseWriter, r *http.Request, num int) { if num <= 2 { w.WriteHeader(http.StatusInternalServerError) } else { fmt.Fprintln(w, "wasm") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:41 UTC 2023 - 7.5K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy.go
// and is consulted to achieve NUMA aware resource alignment among this // and other resource controllers. GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint // GetPodTopologyHints implements the topologymanager.HintProvider Interface // and is consulted to achieve NUMA aware resource alignment per Pod // among this and other resource controllers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 1.8K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
if cardinality <= 0 { // Returns an empty int slice for cardinality < 0. return nil } nums := make([]int, cardinality) keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) start := int(keyCrc % uint32(cardinality)) for i := 1; i <= cardinality; i++ { nums[i-1] = 1 + ((start + i) % cardinality) } return nums } var ( file, object, deploymentID, prefix string setCount, shards int
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
src/math/big/rat_test.go
b := 1<<wid + a if sign == '-' { b = -b } for exp := -150; exp < 150; exp += einc { num, den := NewInt(b), NewInt(1) if exp > 0 { num.Lsh(num, uint(exp)) } else { den.Lsh(den, uint(-exp)) } r := new(Rat).SetFrac(num, den) f, _ := r.Float32() if !checkIsBestApprox32(t, f, r) { // Append context information.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 00:15:59 UTC 2022 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
} @Test public void searchTestWith1Word() throws Exception { String query = "java"; Map<String, String> params = new HashMap<>(); params.put("q", query); params.put("num", "100"); String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > 0);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
for (int j = 0; j < 3; ++j) { final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>(); final Map<String, String> cimap = new CaseInsensitiveMap<String>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null); }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology/topology.go
type NUMANodeInfo map[int]cpuset.CPUSet // CPUDetails is a map from CPU ID to Core ID, Socket ID, and NUMA ID. type CPUDetails map[int]CPUInfo // CPUTopology contains details of node cpu, where : // CPU - logical CPU, cadvisor - thread // Core - physical CPU, cadvisor - Core // Socket - socket, cadvisor - Socket // NUMA Node - NUMA cell, cadvisor - Node type CPUTopology struct { NumCPUs int NumCores int NumSockets int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 7.9K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/callback.go
var cnt int func grow() { x := 10000 sum := 0 if grow1(&x, &sum) == 0 { panic("bad") } } func grow1(x, sum *int) int { if *x == 0 { return *sum + 1 } *x-- sum1 := *sum + *x return grow1(x, &sum1) } func CgoCallbackGC() { P := 100 if os.Getenv("RUNTIME_TEST_SHORT") != "" { P = 10 } if e := extraMInUse.Load(); e != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 14:05:01 UTC 2023 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
protected static final int NUM = 20; private AccessTokenHelper accessTokenHelper; @Override public void setUp() throws Exception { super.setUp(); accessTokenHelper = new AccessTokenHelper(); } public void test_generateAccessToken() { List<String> tokens = new ArrayList<String>(); for (int i = 0; i < NUM; i++) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/PluginUnderTest.groovy
void suppressCleanupErrors() { } } private final int num private final TestFile projectDir private List<File> implClasspath = [] PluginUnderTest(TestFile projectDir) { this(0, projectDir) } PluginUnderTest(int num, TestFile projectDir) { this.num = num this.projectDir = projectDir this.implClasspath.addAll(getImplClasspath()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 6.5K bytes - Viewed (0)