Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for NOTE (0.14 sec)

  1. src/cmd/asm/internal/lex/input.go

    	//	#define A(x)
    	// and
    	//	#define A (x)
    	// distinctly: the first is a macro with arguments, the second without.
    	// Distinguish these cases using the column number, since we don't
    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    		// Macro has arguments. Scan list of formals.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    }
    
    // Enabled returns if configURL is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ConfigURL) != ""
    }
    
    // GetSettings - fetches OIDC settings for site-replication related validation.
    // NOTE that region must be populated by caller as this package does not know.
    func (r *Config) GetSettings() madmin.OpenIDSettings {
    	res := madmin.OpenIDSettings{}
    	if !r.Enabled {
    		return res
    	}
    	h := sha256.New()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    				p.errorf("unexpected EOF")
    				return "", "", nil, false
    			}
    			// Split operands on comma. Also, the old syntax on x86 for a "register pair"
    			// was AX:DX, for which the new syntax is DX, AX. Note the reordering.
    			if tok == '\n' || tok == ';' || (nesting == 0 && (tok == ',' || tok == ':')) {
    				if tok == ':' {
    					// Remember this location so we can swap the operands below.
    					if colon >= 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    // httpStreamResponse allows streaming a response, but still send an error.
    type httpStreamResponse struct {
    	done  chan error
    	block chan []byte
    	err   error
    }
    
    // Write part of the streaming response.
    // Note that upstream errors are currently not forwarded, but may be in the future.
    func (h *httpStreamResponse) Write(b []byte) (int, error) {
    	if len(b) == 0 || h.err != nil {
    		// Ignore 0 length blocks
    		return 0, h.err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	cpSrcPath := r.Header.Get(xhttp.AmzCopySource)
    	var vid string
    	if u, err := url.Parse(cpSrcPath); err == nil {
    		vid = strings.TrimSpace(u.Query().Get(xhttp.VersionID))
    		// Note that url.Parse does the unescaping
    		cpSrcPath = u.Path
    	}
    
    	srcBucket, srcObject := path2BucketObject(cpSrcPath)
    	// If source object is empty or bucket is empty, reply back invalid copy source.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate_test.go

    			webhooks: mergeWebhooks(autoWebhook, revWebhook),
    			checks:   append([]assertion{{empty, empty, "istiod"}}, baseAssertions...),
    		},
    		{
    			// Upgrade from a legacy webhook to a new revision based
    			// Note: we don't need non revision legacy -> non revision, since it will overwrite the webhook
    			name:     "revision upgrade",
    			webhooks: mergeWebhooks(legacyWebhook, revWebhook),
    			checks: append([]assertion{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    	if hdr.Typeflag == TypeGNUSparse {
    		spd, err = tr.readOldGNUSparseMap(hdr, rawHdr)
    	} else {
    		spd, err = tr.readGNUSparsePAXHeaders(hdr)
    	}
    
    	// If sp is non-nil, then this is a sparse file.
    	// Note that it is possible for len(sp) == 0.
    	if err == nil && spd != nil {
    		if isHeaderOnlyType(hdr.Typeflag) || !validateSparseEntries(spd, hdr.Size) {
    			return ErrHeader
    		}
    		sph := invertSparseEntries(spd, hdr.Size)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. cmd/http-stats.go

    	}
    	return apiStats
    }
    
    // HTTPStats holds statistics information about
    // HTTP requests made by all clients
    type HTTPStats struct {
    	s3RequestsInQueue       int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_                       int32 // For 64 bits alignment
    	s3RequestsIncoming      uint64
    	rejectedRequestsAuth    uint64
    	rejectedRequestsTime    uint64
    	rejectedRequestsHeader  uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    	if err != nil {
    		t.Fatal("Failed to initialize a single node Erasure backend for admin handler tests.", err)
    	}
    	defer adminTestBed.TearDown()
    
    	// Initialize admin peers to make admin RPC calls. Note: In a
    	// single node setup, this degenerates to a simple function
    	// call under the hood.
    	globalMinioAddr = "127.0.0.1:9000"
    
    	var wg sync.WaitGroup
    
    	// Setting up a go routine to simulate ServerRouter's
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    		binPaths,
    		in.cfg.MountedCNINetDir,
    		constants.ServiceAccountPath,
    	)
    	// Create file watcher before checking for installation
    	// so that no file modifications are missed while and after checking
    	// note: we create a file watcher for each invocation, otherwise when we write to the directories
    	// we would get infinite looping of events
    	//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top