Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 308 for Ball (0.16 sec)

  1. cmd/os-instrumented.go

    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue30527.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 30527: function call rewriting casts untyped
    // constants to int because of ":=" usage.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue30527"
    
    func issue30527G() {
    	issue30527.G(nil)
    Go
    - Registered: Tue Jan 30 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 376 bytes
    - Viewed (0)
  3. src/cmd/asm/internal/flags/flags.go

    	Importpath = flag.String("p", obj.UnlinkablePkg, "set expected package import to path")
    	Spectre    = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)")
    )
    
    var DebugFlags struct {
    	MayMoreStack string `help:"call named function before all stack growth checks"`
    	PCTab        string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"`
    }
    
    var (
    	D        MultiFlag
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback_windows.go

    #else
    	return 0;
    #endif
    }
    */
    import "C"
    
    import (
    	"internal/testenv"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallersSEH(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t) // This test requires inlining.
    	if runtime.Compiler != "gc" {
    		// The exact function names are not going to be the same.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. internal/lock/lock_nix.go

    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue1435.go

    	C.trial(cts)
    	defer C.cleanup()
    
    	vs := []struct {
    		call           string
    		fn             func() error
    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. cmd/storage-errors.go

    // StorageErr represents error generated by xlStorage call.
    type StorageErr string
    
    func (h StorageErr) Error() string {
    	return string(h)
    }
    
    // Collection of basic errors.
    var baseErrs = []error{
    	errDiskNotFound,
    	errFaultyDisk,
    	errFaultyRemoteDisk,
    }
    
    var baseIgnoredErrs = baseErrs
    
    // Is a one place function which converts all os.PathError
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    func (client *bootstrapRESTClient) Verify(ctx context.Context, srcCfg *ServerSystemConfig) (err error) {
    	if newObjectLayerFn() != nil {
    		return nil
    	}
    
    	recvCfg, err := serverVerifyHandler.Call(ctx, client.gridConn, grid.NewMSS())
    	if err != nil {
    		return err
    	}
    	// We do not need the response after returning.
    	defer serverVerifyHandler.PutResponse(recvCfg)
    
    	return srcCfg.Diff(recvCfg)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. cmd/acl-handlers.go

    		Grants []grant `xml:"Grant"`
    	} `xml:"AccessControlList"`
    }
    
    // PutBucketACLHandler - PUT Bucket ACL
    // -----------------
    // This operation uses the ACL subresource
    // to set ACL for a bucket, this is a dummy call
    // only responds success if the ACL is private.
    func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketACL")
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  10. internal/http/server.go

    	"os"
    	"runtime/pprof"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    )
    
    var (
    	// GlobalMinIOVersion - is sent in the header to all http targets
    	GlobalMinIOVersion string
    
    	// GlobalDeploymentID - is sent in the header to all http targets
    	GlobalDeploymentID string
    )
    
    const (
    	shutdownPollIntervalMax = 500 * time.Millisecond
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top