Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,773 for spring (0.17 sec)

  1. src/log/log.go

    // Print calls Output to print to the standard logger.
    // Arguments are handled in the manner of [fmt.Print].
    func Print(v ...any) {
    	std.output(0, 2, func(b []byte) []byte {
    		return fmt.Append(b, v...)
    	})
    }
    
    // Printf calls Output to print to the standard logger.
    // Arguments are handled in the manner of [fmt.Printf].
    func Printf(format string, v ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/sds/sdsservice_test.go

    		if err := cert.ExpectError(t); !strings.Contains(fmt.Sprint(err), "failed to generate secret") {
    			t.Fatalf("didn't get expected error; got %v", err)
    		}
    		cert.Cleanup()
    
    		s.UpdateSecret(testResourceName, pushSecret)
    		// If the secret is added later, new connections will succeed
    		cert = s.Connect()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 20:12:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cfg/cfg.go

    	BuildCoverPkg      []string                // -coverpkg flag
    	BuildN             bool                    // -n flag
    	BuildO             string                  // -o flag
    	BuildP             = runtime.GOMAXPROCS(0) // -p flag
    	BuildPGO           string                  // -pgo flag
    	BuildPkgdir        string                  // -pkgdir flag
    	BuildRace          bool                    // -race flag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top