- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 419 for gots (0.14 sec)
-
pkg/volume/util/util.go
} if IsWindowsUNCPath(goos, path) { return false } if strings.Contains(path, ":") { return false } if !(strings.HasPrefix(path, `/`) || strings.HasPrefix(path, `\`)) { return false } return true } // MakeAbsolutePath convert path to absolute path according to GOOS func MakeAbsolutePath(goos, path string) string { if goos != "windows" { return filepath.Clean("/" + path) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
src/runtime/coro_test.go
if len(c) == 1 { t.Fatalf("expected at least one complete line in the output, got:\n%s", output) } expect, ok := strings.CutPrefix(c[0], "expect: ") if !ok { t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0]) } rest := c[1] if expect == "OK" && rest != "OK\n" { t.Fatalf("expected just 'OK' in the output, got:\n%s", rest) } if !strings.Contains(rest, expect) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:36:37 UTC 2024 - 1.9K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSoakTest.groovy
result = executer .withTasks("compileJava", "-Porg.gradle.java.installations.auto-detect=false") .run() then: "suitable JDK gets auto-provisioned" javaClassFile("Foo.class").assertExists() assertJdkWasDownloaded() when: "the marker file of the auto-provisioned JDK is deleted, making the JDK not detectable"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 16:13:09 UTC 2024 - 6.2K bytes - Viewed (0) -
src/time/tick_test.go
t.Errorf("Ticker.Reset(0) should have panicked") } }() tk := NewTicker(Second) tk.Reset(0) } func TestLongAdjustTimers(t *testing.T) { if runtime.GOOS == "android" || runtime.GOOS == "ios" { t.Skipf("skipping on %s - too slow", runtime.GOOS) } t.Parallel() var wg sync.WaitGroup defer wg.Wait() // Build up the timer heap. const count = 5000 wg.Add(count) for range count {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/net/dnsconfig.go
type dnsConfig struct { servers []string // server addresses (in host:port form) to use search []string // rooted suffixes to append to local name ndots int // number of dots in name to trigger absolute lookup timeout time.Duration // wait before giving up on a query, including retries attempts int // lost packets before giving up on server
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/http/listener_test.go
} } else if listenErrs[i] == nil { t.Fatalf("Test %d: listenErrs[%d]: expected = %v, got = <nil>", testIdx+1, i, expectedListenErr) } } if listener != nil { listener.Close() } } } func TestHTTPListenerStartClose(t *testing.T) { if runtime.GOOS == "windows" { t.Skip() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go
) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { t.DisableTimestamps() g := t.Generation(1) // One goroutine does a syscall without blocking, then another one where // it's P gets stolen. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning) b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.5K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt
public fun KaType.hasCommonSubTypeWith(that: KaType): Boolean = withValidityAssertion { analysisSession.typeProvider.haveCommonSubtype(this, that) } /** * Gets all the implicit receiver types available at the given position. The type of the outermost receiver appears at the beginning * of the returned list. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
export LC_CTYPE=C if test -z "$GOARCH" -o -z "$GOOS"; then echo 1>&2 "GOARCH or GOOS not defined in environment" exit 1 fi # Check that we are using the new build system if we should if [[ "$GOOS" = "linux" ]] && [[ "$GOLANG_SYS_BUILD" != "docker" ]]; then echo 1>&2 "In the Docker based build system, mkerrors should not be called directly." echo 1>&2 "See README.md" exit 1 fi if [[ "$GOOS" = "aix" ]]; then CC=${CC:-gcc} else
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 20.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
} return nil, nil } func (s *InformerHandlers) Start() { kube.WaitForCacheSync("informer", s.ctx.Done(), s.pods.HasSynced, s.namespaces.HasSynced) go s.queue.Run(s.ctx.Done()) } // Gets a point-in-time snapshot of all pods that are CURRENTLY ambient enabled // (as per control plane annotation) // Note that this is not the same thing as SHOULD be enabled or WILL be enabled.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 11.8K bytes - Viewed (0)