Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 173 for CHAN (0.07 sec)

  1. cmd/iam.go

    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    	store *IAMStoreSys
    
    	// configLoaded will be closed and remain so after first load.
    	configLoaded chan struct{}
    }
    
    // IAMUserType represents a user type inside MinIO server
    type IAMUserType int
    
    const (
    	unknownIAMUserType IAMUserType = iota - 1
    	regUser
    	stsUser
    	svcUser
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	poolIndex int
    
    	// Distribution algorithm of choice.
    	distributionAlgo string
    	deploymentID     [16]byte
    
    	lastConnectDisksOpTime time.Time
    }
    
    var staleUploadsCleanupIntervalChangedCh = make(chan struct{})
    
    func (s *erasureSets) getDiskMap() map[Endpoint]StorageAPI {
    	diskMap := make(map[Endpoint]StorageAPI)
    
    	s.erasureDisksMu.RLock()
    	defer s.erasureDisksMu.RUnlock()
    
    	for i := 0; i < s.setCount; i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	bucketName1 := fmt.Sprintf("%s-1", bucketName)
    
    	const n = 100
    	start := make(chan struct{})
    	var ok, errs int
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	wg.Add(n)
    	for i := 0; i < n; i++ {
    		go func() {
    			defer wg.Done()
    			// Sync start.
    			<-start
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	for i := range errs {
    		errs[i] = errDiskOngoingReq
    	}
    
    	done := make(chan bool, er.setDriveCount)
    	disks := er.getDisks()
    
    	ropts := ReadOptions{
    		ReadData:         readData,
    		InclFreeVersions: opts.InclFreeVersions,
    		Healing:          false,
    	}
    
    	mrfCheck := make(chan FileInfo)
    	defer xioutil.SafeClose(mrfCheck)
    
    	var rw sync.Mutex
    
    	// Ask for all disks first;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    		opts = append([]s2.WriterOption{s2.WriterPadding(compPadEncrypted), s2.WriterPaddingSrc(rng)}, compressOpts...)
    	}
    	comp := s2.NewWriter(pw, opts...)
    	indexCh := make(chan []byte, 1)
    	go func() {
    		defer xioutil.SafeClose(indexCh)
    		cn, err := io.Copy(comp, r)
    		if err != nil {
    			comp.Close()
    			pw.CloseWithError(err)
    			return
    		}
    		if on > 0 && on != cn {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	}
    }
    
    type zeroReader struct{}
    
    func (zeroReader) Read(p []byte) (int, error) {
    	return 0, nil
    }
    
    func TestZeroReader(t *testing.T) {
    	var z zeroReader
    	r := NewReader(z)
    
    	c := make(chan error)
    	go func() {
    		_, err := r.ReadByte()
    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    }
    
    // iamStorageWatcher is implemented by `IAMStorageAPI` implementers that
    // additionally support watching storage for changes.
    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    	for _, v := range policy.DefaultPolicies {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    	}
    
    	// test read of each file
    	for i, ft := range zt.File {
    		readTestFile(t, zt, ft, z.File[i], raw)
    	}
    	if t.Failed() {
    		return
    	}
    
    	// test simultaneous reads
    	n := 0
    	done := make(chan bool)
    	for i := 0; i < 5; i++ {
    		for j, ft := range zt.File {
    			go func(j int, ft ZipTestFile) {
    				readTestFile(t, zt, ft, z.File[j], raw)
    				done <- true
    			}(j, ft)
    			n++
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.15.md

    - Signal handling is now initialized within hyperkube commands that require it, such as apiserver and kubelet. ([#76659](https://github.com/kubernetes/kubernetes/pull/76659), [@S-Chan](https://github.com/S-Chan))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg time, type ParseError struct, Value string
    pkg time, type ParseError struct, ValueElem string
    pkg time, type Ticker struct
    pkg time, type Ticker struct, C <-chan Time
    pkg time, type Time struct
    pkg time, type Timer struct
    pkg time, type Timer struct, C <-chan Time
    pkg time, type Weekday int
    pkg time, var Local *Location
    pkg time, var UTC *Location
    pkg unicode, const LowerCase ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top