- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 183 for tramps (0.26 sec)
-
src/encoding/json/stream_test.go
runtime.Callers(2, c.Where.pc[:]) return c } // CasePos represents a file and line number. type CasePos struct{ pc [1]uintptr } func (pos CasePos) String() string { frames := runtime.CallersFrames(pos.pc[:]) frame, _ := frames.Next() return fmt.Sprintf("%s:%d", path.Base(frame.File), frame.Line) } // Test values for the stream test. // One of each JSON kind. var streamTest = []any{ 0.1, "hello",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 12.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
// After genssa, the space needed includes local variables and the callee arg region. // We must do this check prior to calling pp.Flush. // If there are any oversized stack frames, // the assembler may emit inscrutable complaints about invalid instructions. if pp.Text.To.Offset >= maxStackSize { largeStackFramesMu.Lock() locals := f.Frontend().(*ssafn).stksize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/runtime/runtime-gdb_test.go
} for i, l := range lines { if !strings.HasPrefix(l, fmt.Sprintf("#%v ", i)) { t.Fatalf("malformed backtrace at line %v: %v", i, l) } } // TODO(mundaym): check for unknown frames (e.g. "??"). } // NOTE: the maps below are allocated larger than abi.MapBucketCount // to ensure that they are not "optimized out". var helloSource = ` import "fmt" import "runtime"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 23.2K bytes - Viewed (0) -
src/image/gif/writer.go
e.globalCT, err = encodeColorTable(e.globalColorTable[:], p, paddedSize) if err != nil && e.err == nil { e.err = err return } e.write(e.globalColorTable[:e.globalCT]) } else { // All frames have a local color table, so a global color table // is not needed. e.buf[0] = 0x00 e.buf[1] = 0x00 // Background Color Index. e.buf[2] = 0x00 // Pixel Aspect Ratio. e.write(e.buf[:3]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0) -
tests/associations_has_many_test.go
t.Fatalf("errors happened when create: %v", err) } // Count AssertAssociationCount(t, users, "Team", 6, "") // Find var teams []User if DB.Model(&users).Association("Team").Find(&teams); len(teams) != 6 { t.Errorf("teams count should be %v, but got %v", 6, len(teams)) } // Append DB.Model(&users).Association("Team").Append( &User{Name: "pet-slice-append-1"},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
src/log/slog/value.go
func stack(skip, nFrames int) string { pcs := make([]uintptr, nFrames+1) n := runtime.Callers(skip+1, pcs) if n == 0 { return "(no stack)" } frames := runtime.CallersFrames(pcs[:n]) var b strings.Builder i := 0 for { frame, more := frames.Next() fmt.Fprintf(&b, "called from %s (%s:%d)\n", frame.Function, frame.File, frame.Line) if !more { break } i++ if i >= nFrames {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java
if (removeUnusedEntriesAfterDays < 1) { throw new IllegalArgumentException(name + " cannot be set to retain entries for " + removeUnusedEntriesAfterDays + " days. For time frames shorter than one day, use the 'removeUnusedEntriesOlderThan' property."); } getRemoveUnusedEntriesOlderThan().set(providerFromSupplier(daysAgo(removeUnusedEntriesAfterDays))); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h
}; // Returns true if exit_status describes a process that was terminated // by a signal, or exited normally with a nonzero exit code. GTEST_API_ bool ExitedUnsuccessfully(int exit_status); // Traps C++ exceptions escaping statement and reports them as test // failures. Note that trapping SEH exceptions is not implemented here. # if GTEST_HAS_EXCEPTIONS # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 13.1K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/options_test.go
ProxyClientKeyFile: "/var/run/kubernetes/proxy.key", ProxyClientCertFile: "/var/run/kubernetes/proxy.crt", Metrics: &metrics.Options{}, Logs: logs.NewOptions(), Traces: &apiserveroptions.TracingOptions{ ConfigFile: "/var/run/kubernetes/tracing_config.yaml", }, AggregatorRejectForwardingRedirects: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 10.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h
}; // Returns true if exit_status describes a process that was terminated // by a signal, or exited normally with a nonzero exit code. GTEST_API_ bool ExitedUnsuccessfully(int exit_status); // Traps C++ exceptions escaping statement and reports them as test // failures. Note that trapping SEH exceptions is not implemented here. # if GTEST_HAS_EXCEPTIONS # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 13.1K bytes - Viewed (0)