Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for extend (0.18 sec)

  1. internal/event/name.go

    	ObjectRestoreAll
    	ObjectTransitionAll
    	ObjectScannerAll
    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    	switch name {
    
    	case ObjectAccessedAll:
    		return []Name{
    			ObjectAccessedGet, ObjectAccessedHead,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/godefs.go

    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    	// If we know that C.xxx should format as T
    	// and xxx is a typedef for yyy, make C.yyy format as T.
    	for typ, def := range typedef {
    		if new := override[typ]; new != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    }
    
    // LookupConfig - lookup api config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    	deprecatedKeys := []string{
    		apiReadyDeadline,
    		"extend_list_cache_life",
    		apiReplicationWorkers,
    		apiReplicationFailedWorkers,
    		"expiry_workers",
    	}
    
    	disableODirect := env.Get(EnvAPIDisableODirect, kvs.Get(apiDisableODirect)) == config.EnableOn
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  4. src/archive/tar/format.go

    package tar
    
    import "strings"
    
    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    // The most common formats are the USTAR, PAX, and GNU formats,
    // each with their own advantages and limitations.
    //
    // The following table captures the capabilities of each format:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. internal/lock/lock_windows.go

    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // fixLongPath returns the extended-length (\\?\-prefixed) form of
    // path when needed, in order to avoid the default 260 character file
    // path limit imposed by Windows. If path is not easily converted to
    // the extended-length form (for example, if path is a relative path
    // or contains .. elements), or is short enough, fixLongPath returns
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    	BaseOptions
    }
    
    // DiskInfoOptions options for requesting custom results.
    type DiskInfoOptions struct {
    	DiskID  string `msg:"id"`
    	Metrics bool   `msg:"m"`
    	NoOp    bool   `msg:"np"`
    }
    
    // DiskInfo is an extended type which returns current
    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. internal/event/rulesmap.go

    func (rulesMap RulesMap) add(eventNames []Name, pattern string, targetID TargetID) {
    	rules := make(Rules)
    	rules.Add(pattern, targetID)
    
    	for _, eventName := range eventNames {
    		for _, name := range eventName.Expand() {
    			rulesMap[name] = rulesMap[name].Union(rules)
    		}
    	}
    }
    
    // Clone - returns copy of this rules map.
    func (rulesMap RulesMap) Clone() RulesMap {
    	rulesMapCopy := make(RulesMap)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  8. internal/event/name_test.go

    		{ObjectAccessedHead, []Name{ObjectAccessedHead}},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.name.Expand()
    
    		if !reflect.DeepEqual(result, testCase.expectedResult) {
    			t.Errorf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNameString(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    		}
    	case target.Type == obj.TYPE_REG:
    		// 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)
  10. cmd/bucket-object-lock.go

    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in compliance mode can be overwritten only if retention date is being extended. No mode change is permitted.
    func enforceRetentionBypassForPut(ctx context.Context, r *http.Request, oi ObjectInfo, objRetention *objectlock.ObjectRetention, cred auth.Credentials, owner bool) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top