Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for chang (0.22 sec)

  1. src/bytes/bytes_test.go

    	{"\xff-\xff", "-", -1, []string{"\xff", "\xff"}},
    }
    
    func TestSplit(t *testing.T) {
    	for _, tt := range splittests {
    		a := SplitN([]byte(tt.s), []byte(tt.sep), tt.n)
    
    		// Appending to the results should not change future results.
    		var x []byte
    		for _, v := range a {
    			x = append(v, 'z')
    		}
    
    		result := sliceOfString(a)
    		if !eq(result, tt.a) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	if isGroup {
    		v, ok := cache.iamGroupPolicyMap.Load(name)
    		return v, ok
    	}
    	return cache.iamUserPolicyMap.Load(name)
    }
    
    // GroupNotificationHandler - updates in-memory cache on notification of
    // change (e.g. peer notification for object storage and etcd watch
    // notification).
    func (store *IAMStoreSys) GroupNotificationHandler(ctx context.Context, group string) error {
    	cache := store.lock()
    	defer store.unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/xl-storage.go

    	formatLastCheck time.Time
    
    	diskInfoCache *cachevalue.Cache[DiskInfo]
    	sync.RWMutex
    	formatData []byte
    
    	nrRequests   uint64
    	major, minor uint32
    	fsType       string
    
    	immediatePurge chan string
    
    	// mutex to prevent concurrent read operations overloading walks.
    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    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)
  4. cmd/erasure-server-pool.go

    					if firstErr == nil {
    						firstErr = err
    					}
    					// Cancel remaining...
    					cancel()
    					mu.Unlock()
    					return
    				}
    			}(resultIndex, erObj)
    		}
    	}
    	updateCloser := make(chan chan struct{})
    	go func() {
    		updateTicker := time.NewTicker(30 * time.Second)
    		defer updateTicker.Stop()
    		var lastUpdate time.Time
    
    		// We need to merge since we will get the same buckets from each pool.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    		StringBool   string
    		SmallintBool int `gorm:"type:smallint"`
    	}
    
    	type ColumnStruct2 struct {
    		gorm.Model
    		Name         string
    		StringBool   bool // change existing boolean column from string to boolean
    		SmallintBool bool // change existing boolean column from smallint or other to boolean
    	}
    
    	DB.Migrator().DropTable(&ColumnStruct{})
    
    	if err := DB.AutoMigrate(&ColumnStruct{}); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/iam.go

    		currGroups := currGroupsSet.ToSlice()
    		for _, cred := range parentUserToCredsMap[parentUser] {
    			gSet := set.CreateStringSet(cred.Groups...)
    			if gSet.Equals(currGroupsSet) {
    				// No change to groups memberships for this
    				// credential.
    				continue
    			}
    
    			// Expired credentials don't need group membership updates.
    			if cred.IsExpired() {
    				continue
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/erasure-object.go

    	errs := make([]error, er.setDriveCount)
    	for i := range errs {
    		errs[i] = errDiskOngoingReq
    	}
    
    	done := make(chan bool, er.setDriveCount)
    	disks := er.getDisks()
    
    	ropts := ReadOptions{
    		ReadData: readData,
    		Healing:  false,
    	}
    
    	mrfCheck := make(chan FileInfo)
    	defer xioutil.SafeClose(mrfCheck)
    
    	var rw sync.Mutex
    
    	// Ask for all disks first;
    	go func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrAdminPolicyChangeAlreadyApplied: {
    		Code:           "XMinioAdminPolicyChangeAlreadyApplied",
    		Description:    "The specified policy change is already in effect.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	ErrAdminInvalidArgument: {
    		Code:           "XMinioAdminInvalidArgument",
    		Description:    "Invalid arguments specified.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. src/cmd/cgo/gcc.go

    			"-ferror-limit=0",
    			// Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
    			// doesn't have -Wno-unneeded-internal-declaration, so we need yet another
    			// flag to disable the warning. Yes, really good diagnostics, clang.
    			"-Wno-unknown-warning-option",
    			"-Wno-unneeded-internal-declaration",
    			"-Wno-unused-function",
    			"-Qunused-arguments",
    			// Clang embeds prototypes for some builtin functions,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    		ctx:          ctx,
    		objLayer:     o,
    		jobCh:        make(chan *BatchJobRequest, 10000),
    		workerKillCh: make(chan struct{}, workers),
    		jobCancelers: make(map[string]context.CancelFunc),
    	}
    	jpool.ResizeWorkers(workers)
    	jpool.resume()
    	return jpool
    }
    
    func (j *BatchJobPool) resume() {
    	results := make(chan ObjectInfo, 100)
    	ctx, cancel := context.WithCancel(j.ctx)
    	defer cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top