- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 785 for gomod (0.05 sec)
-
src/os/signal/signal_plan9_test.go
waitSig(t, c, syscall.Note(sig)) Stop(c) select { case s := <-c: t.Fatalf("unexpected signal %v", s) case <-time.After(100 * time.Millisecond): // nothing to read - good } // Send the signal. // If it's alarm, we should not see it. // If it's hangup, maybe we'll die. Let the flag tell us what to do. if sig != "hangup" { postNote(syscall.Getpid(), sig) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Mar 14 17:56:50 UTC 2021 - 3.6K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/leak_test.go
// metadata server code against a fake metadata server. We do not control the client, and cannot // configure it to exit early, retry faster, etc - its all fixed. As a result, we don't have a good // way to shut it down if it is still retrying in the background.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 12 20:52:37 UTC 2021 - 1020 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
// Final argument is (basep *uintptr) and the syscall doesn't take nil. // 64 bits should be enough. (32 bits isn't even on 386). Since the // actual system call is getdirentries64, 64 is a good guess. // TODO(rsc): Can we use a single global basep for all calls? var base = (*uintptr)(unsafe.Pointer(new(uint64))) return Getdirentries(fd, buf, base)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 705 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/apis/discovery/validation/validation_test.go
standardMeta := metav1.ObjectMeta{ Name: "hello", Namespace: "world", } testCases := map[string]struct { expectedErrors int endpointSlice *discovery.EndpointSlice }{ "good-slice": { expectedErrors: 0, endpointSlice: &discovery.EndpointSlice{ ObjectMeta: standardMeta, AddressType: discovery.AddressTypeIPv4, Ports: []discovery.EndpointPort{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 05 10:48:05 UTC 2023 - 23.9K bytes - Viewed (0) -
test/shift3.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that the compiler's noder uses the correct type // for RHS shift operands that are untyped. Must compile; // run for good measure. package main import ( "fmt" "math" ) func f(x, y int) { if x != y { panic(fmt.Sprintf("%d != %d", x, y)) } } func main() { var x int = 1 f(x<<1, 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 17:19:55 UTC 2022 - 834 bytes - Viewed (0) -
tests/integration/GKE.md
--machine-type ${MACHINE_TYPE} \ --num-nodes ${NUM_NODES} \ --enable-kubernetes-alpha \ --no-enable-legacy-authorization ``` * `CLUSTER_NAME`: Whatever suits your fancy, 'istio-e2e' is a good choice. * `ZONE`: 'us-central1-f' is a good value to use. * `PROJECT_ID`: is the ID of the GCP project that will house the cluster. You get a project by visiting [GCP](https://console.cloud.google.com). * `CLUSTER_VERSION`: 1.7.3 or later.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 20 23:19:43 UTC 2020 - 4.1K bytes - Viewed (0) -
test/ken/convert.go
type big float64 type t struct { from, to int val big } const ( ti8 = iota+1 tu8 ti16 tu16 ti32 tu32 ti64 tu64 tf32 tf64 ) var x = []t{ /* value good in all types (10) */ { ti8, ti8, 10 }, { ti8, tu8, 10 }, { ti8, ti16, 10 }, { ti8, tu16, 10 }, { ti8, ti32, 10 }, { ti8, tu32, 10 }, { ti8, ti64, 10 }, { ti8, tu64, 10 }, { ti8, tf32, 10 }, { ti8, tf64, 10 },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 14.9K bytes - Viewed (0) -
src/math/jn.go
// // To determine how many terms needed, let // Q(0) = w, Q(1) = w(w+h) - 1, // Q(k) = (w+k*h)*Q(k-1) - Q(k-2), // When Q(k) > 1e4 good for single // When Q(k) > 1e9 good for double // When Q(k) > 1e17 good for quadruple // determine k w := float64(n+n) / x h := 2 / x q0 := w z := w + h q1 := w*z - 1 k := 1 for q1 < 1e9 { k++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 7.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/locking/ExclusiveFileAccessManagerTest.groovy
private manager = new ExclusiveFileAccessManager(1000, 10) def 'If the directory for the lock file cannot be created then we get a good error message'() { given: def fileWithSameNameAsDirectory = temporaryDirectory.createFile('someDir') when: manager.access(fileWithSameNameAsDirectory.file('someFile.zip')) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:53 UTC 2024 - 1.5K bytes - Viewed (0)