Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for operating (0.19 sec)

  1. 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)
  2. 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)
  3. misc/cgo/gmp/fib.go

    // and foreign code on multiple pthreads.
    
    package main
    
    import (
    	big "."
    	"runtime"
    )
    
    func fibber(c chan *big.Int, out chan string, n int64) {
    	// Keep the fibbers in dedicated operating system
    	// threads, so that this program tests coordination
    	// between pthreads and not just goroutines.
    	runtime.LockOSThread()
    
    	i := big.NewInt(n)
    	if n == 0 {
    		c <- i
    	}
    	for {
    		j := <-c
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  4. 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)
  5. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. cmd/notification.go

    // NOTE: once a tenant is frozen either two things needs to
    // happen before resuming normal operations.
    //   - Server needs to be restarted 'mc admin service restart'
    //   - 'freeze' should be set to 'false' for this call
    //     to resume normal operations.
    func (sys *NotificationSys) ServiceFreeze(ctx context.Context, freeze bool) []NotificationPeerErr {
    	serviceSig := serviceUnFreeze
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  7. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. cmd/object-api-interface.go

    	MTime                time.Time // Is only set in POST/PUT operations
    	Expires              time.Time // Is only used in POST/PUT operations
    
    	DeleteMarker            bool // Is only set in DELETE operations for delete marker replication
    	CheckDMReplicationReady bool // Is delete marker ready to be replicated - set only during HEAD
    	Tagging                 bool // Is only in GET/HEAD operations to return tagging metadata along with regular metadata and body.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    	}
    
    	// Iterating over the test cases, calling the function under test and asserting the response.
    	for i, testCase := range testCases {
    		// obtain the put bucket policy request body.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. src/archive/tar/tar_test.go

    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    type fileOps []any // []T where T is (string | int64)
    
    // testFile is an io.ReadWriteSeeker where the IO operations performed
    // on it must match the list of operations in ops.
    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top