Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for operating (0.28 sec)

  1. utils/utils.go

    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    func sourceDir(file string) string {
    	dir := filepath.Dir(file)
    	dir = filepath.Dir(dir)
    
    	s := filepath.Dir(dir)
    	if filepath.Base(s) != "gorm.io" {
    		s = dir
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/asm/doc.go

    # Command Line
    
    Usage:
    
    	go tool asm [flags] file
    
    The specified file must be a Go assembly file.
    The same assembler is used for all target operating systems and architectures.
    The GOOS and GOARCH environment variables set the desired target.
    
    Flags:
    
    	-D name[=value]
    		Predefine symbol name with an optional simple value.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/bytes/boundary_test.go

    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    // dangerousSlice returns a slice which is immediately
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	healUnconsumedTimeout = 24 * time.Hour
    
    	// time-duration to keep heal sequence state after it
    	// completes.
    	keepHealSeqStateDuration = time.Minute * 10
    
    	// nopHeal is a no operating healing action to
    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    	errHealIdleTimeout   = fmt.Errorf("healing results were not consumed for too long")
    	errHealStopSignalled = fmt.Errorf("heal stop signaled")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/peer-rest-server.go

    	info := madmin.GetPartitions(context.Background(), globalLocalNodeName)
    	return madminPartitions.NewJSONWith(&info), nil
    }
    
    // GetOSInfoHandler - returns operating system's information.
    func (s *peerRESTServer) GetOSInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.OSInfo], *grid.RemoteErr) {
    	info := madmin.GetOSInfo(context.Background(), globalLocalNodeName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. src/archive/tar/strconv.go

    // encoding. Unlike octal encoding, base-256 encoding does not require that the
    // string ends with a NUL character. Thus, all n bytes are available for output.
    //
    // If operating in binary mode, this assumes strict GNU binary mode; which means
    // that the first byte can only be either 0x80 or 0xff. Thus, the first byte is
    // equivalent to the sign bit in two's complement form.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    // corresponding valid volume names on the backend in a platform
    // compatible way for all operating systems. If volume is not found
    // an error is generated.
    func (s *xlStorage) getVolDir(volume string) (string, error) {
    	if volume == "" || volume == "." || volume == ".." {
    		return "", errVolumeNotFound
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    		// Info operations
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/info").HandlerFunc(adminMiddleware(adminAPI.ServerInfoHandler, traceAllFlag, noObjLayerFlag))
    		adminRouter.Methods(http.MethodGet, http.MethodPost).Path(adminVersion + "/inspect-data").HandlerFunc(adminMiddleware(adminAPI.InspectDataHandler, noGZFlag, traceAllFlag))
    
    		// StorageInfo operations
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/api-router.go

    			t := router.Methods(r.methods...).
    				HandlerFunc(collectAPIStats(r.api, httpTraceAll(notImplementedHandler))).
    				Queries(r.queries...)
    			t.Path(r.path)
    		}
    
    		// Object operations
    		// HeadObject
    		router.Methods(http.MethodHead).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.HeadObjectHandler))
    
    		// GetObjectAttributes
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    // is specified) enabled.
    // Similar to bucket replication for PUT operation, soft delete (a.k.a setting delete marker) and
    // permanent deletes (by specifying a version ID in the delete operation) have three states "Pending", "Complete"
    // and "Failed" to mark the status of the replication of "DELETE" operation. All failed operations can
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top