- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 5,630 for spring (0.56 sec)
-
src/debug/macho/file.go
type FormatError struct { off int64 msg string val any } func (e *FormatError) Error() string { msg := e.msg if e.val != nil { msg += fmt.Sprintf(" '%v'", e.val) } msg += fmt.Sprintf(" in record at byte %#x", e.off) return msg } // Open opens the named file using [os.Open] and prepares it for use as a Mach-O binary. func Open(name string) (*File, error) { f, err := os.Open(name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
func Acct(path string) (err error) { _p0 := uintptr(unsafe.Pointer(C.CString(path))) r0, er := C.acct(C.uintptr_t(_p0)) if r0 == -1 && er != nil { err = er } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chdir(path string) (err error) { _p0 := uintptr(unsafe.Pointer(C.CString(path))) r0, er := C.chdir(C.uintptr_t(_p0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 35.7K bytes - Viewed (0) -
src/flag/flag_test.go
func TestFlagSetParse(t *testing.T) { testParse(NewFlagSet("test", ContinueOnError), t) } // Declare a user-defined flag type. type flagVar []string func (f *flagVar) String() string { return fmt.Sprint([]string(*f)) } func (f *flagVar) Set(value string) error { *f = append(*f, value) return nil } func TestUserDefined(t *testing.T) { var flags FlagSet flags.Init("test", ContinueOnError)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
src/math/big/arith_test.go
func TestIssue42838(t *testing.T) { const s = 192 z, _, _, _ := nat(nil).scan(strings.NewReader(issue42838Value), 0, false) z = z.shl(z, s) got := string(z.utoa(10)) want := "1" + strings.Repeat("0", s) if got != want { t.Errorf("shl(%v, %v)\n\tgot %s\n\twant %s", z, s, got, want) } } func BenchmarkAddVW(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:43:52 UTC 2022 - 19.9K bytes - Viewed (0) -
src/runtime/map_benchmark_test.go
package runtime_test import ( "fmt" "math/rand" "strconv" "strings" "testing" ) const size = 10 func BenchmarkHashStringSpeed(b *testing.B) { strings := make([]string, size) for i := 0; i < size; i++ { strings[i] = fmt.Sprintf("string#%d", i) } sum := 0 m := make(map[string]int, size) for i := 0; i < size; i++ { m[strings[i]] = 0 } idx := 0 b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 16:41:16 UTC 2023 - 10.6K bytes - Viewed (0) -
src/net/server_test.go
c2, err := d.Dial("unixgram", ls.PacketConn.LocalAddr().String()) if err != nil { if perr := parseDialError(err); perr != nil { t.Error(perr) } t.Fatal(err) } defer os.Remove(c2.LocalAddr().String()) defer c2.Close() go transceiver(c2, []byte(c2.LocalAddr().String()), trch) } else { c2, err := ListenPacket("unixgram", tt.caddr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 11.7K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
if tt.reverse != reverse { t.Errorf("Expected locality string %s, got %v", tt.reverse, reverse) } } else if tt.locality != reverse { t.Errorf("Expected locality string %s, got %v", tt.locality, reverse) } }) } } func TestLocalityMatch(t *testing.T) { tests := []struct { name string locality *core.Locality rule string match bool }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0) -
operator/pkg/verifier/verifier.go
var specialKinds = map[string]string{ "NetworkAttachmentDefinition": "network-attachment-definitions", } // StatusVerifier checks status of certain resources like deployment, // jobs and also verifies count of certain resource types. type StatusVerifier struct { istioNamespace string manifestsPath string filenames []string controlPlaneOpts clioptions.ControlPlaneOptions
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 15K bytes - Viewed (0) -
src/text/template/funcs.go
func HTMLEscapeString(s string) string { // Avoid allocation if we can. if !strings.ContainsAny(s, "'\"&<>\000") { return s } var b strings.Builder HTMLEscape(&b, []byte(s)) return b.String() } // HTMLEscaper returns the escaped HTML equivalent of the textual // representation of its arguments. func HTMLEscaper(args ...any) string { return HTMLEscapeString(evalArgs(args)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
// The version of the deployment. Version string // Annotations provides metadata hints for deployment of the instance. Annotations map[string]string // Labels provides metadata hints for deployment of the instance. Labels map[string]string // Replicas of this deployment Replicas int // TODO: port more into workload config. }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0)