Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isStatic (0.4 sec)

  1. src/cmd/asm/internal/asm/parse.go

    		return "", obj.ABI0, false
    	}
    	name = p.qualifySymbol(name)
    	// Parse optional <> (indicates a static symbol) or
    	// <ABIxxx> (selecting text symbol with specific ABI).
    	noErrMsg := false
    	isStatic, abi := p.symRefAttrs(name, noErrMsg)
    	if isStatic {
    		return "", obj.ABI0, false // This function rejects static symbols.
    	}
    	tok = p.next()
    	if tok.ScanToken == '+' {
    		if p.next().ScanToken != scanner.Int {
    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)
  2. internal/grid/handlers.go

    //go:generate stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go $GOFILE
    
    // HandlerID is a handler identifier.
    // It is used to determine request routing on the server.
    // Handlers can be registered with a static subroute.
    // Do NOT remove or change the order of existing handlers.
    const (
    	// handlerInvalid is reserved to check for uninitialized values.
    	handlerInvalid HandlerID = iota
    	HandlerLockLock
    	HandlerLockRLock
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    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)
  4. cmd/bucket-replication.go

    					atomic.AddInt32(opTracker, -1)
    				}
    			default:
    				bugLogIf(p.ctx, fmt.Errorf("unknown replication type: %T", oi), "unknown-replicate-type")
    			}
    		}
    	}
    }
    
    // AddLargeWorkers adds a static number of workers to handle large uploads
    func (p *ReplicationPool) AddLargeWorkers() {
    	for i := 0; i < LargeWorkerCount; i++ {
    		p.lrgworkers = append(p.lrgworkers, make(chan ReplicationWorkerOperation, 100000))
    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)
  5. internal/grid/connection.go

    		fmt.Println(c.Local, "->", c.Remote, "Should local connect:", c.shouldConnect(), "side:", c.side)
    	}
    	if debugReqs {
    		fmt.Println("Created connection", c.String())
    	}
    	return c
    }
    
    // Subroute returns a static subroute for the connection.
    func (c *Connection) Subroute(s string) *Subroute {
    	if c == nil {
    		return nil
    	}
    	return &Subroute{
    		Connection: c,
    		route:      s,
    		subID:      makeSubHandlerID(0, s),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    				},
    				UpdatedAt: mp.UpdatedAt,
    			})
    			return err == nil
    		})
    		if err != nil {
    			return errSRIAMError(err)
    		}
    	}
    
    	// Service accounts are the static accounts that should be synced with
    	// valid claims.
    	{
    		serviceAccounts := make(map[string]UserIdentity)
    		err := globalIAMSys.store.loadUsers(ctx, svcUser, serviceAccounts)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. src/cmd/asm/internal/asm/asm.go

    		// JMP R1
    		*targetAddr = *target
    	case target.Type == obj.TYPE_MEM && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    		// JMP main·morestack(SB)
    		*targetAddr = *target
    	case target.Type == obj.TYPE_INDIR && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    		// JMP *main·morestack(SB)
    		*targetAddr = *target
    		targetAddr.Type = obj.TYPE_INDIR
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  8. cmd/kms-router.go

    	KMSVersions := []string{
    		kmsAPIVersionPrefix,
    	}
    
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    
    	for _, version := range KMSVersions {
    		// KMS Status APIs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    		// Temporary credentials should always have x-amz-security-token
    		return nil, ErrInvalidToken
    	}
    
    	if token != "" && !cred.IsTemp() {
    		// x-amz-security-token should not present for static credentials.
    		return nil, ErrInvalidToken
    	}
    
    	if !cred.IsServiceAccount() && cred.IsTemp() && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	holdPerms := isPutActionAllowed(ctx, getRequestAuthType(r), bucket, object, r, policy.PutObjectLegalHoldAction)
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// These are static for all objects extracted.
    	reqParams := extractReqParams(r)
    	respElements := map[string]string{
    		"requestId": w.Header().Get(xhttp.AmzRequestID),
    		"nodeId":    w.Header().Get(xhttp.AmzRequestHostID),
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top