Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for deselect (0.11 sec)

  1. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    	select {
    	case <-sys.configLoaded:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. pilot/pkg/xds/delta.go

    	// initialization is complete.
    	<-con.InitializedCh()
    
    	for {
    		// Go select{} statements are not ordered; the same channel can be chosen many times.
    		// For requests, these are higher priority (client may be blocked on startup until these are done)
    		// and often very cheap to handle (simple ACK), so we check it first.
    		select {
    		case req, ok := <-con.deltaReqChan:
    			if ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. src/go/types/unify.go

    						// x is a defined type: nothing to do.
    					case yn:
    						// x is not a defined type and y is a defined type: select y.
    						u.set(px, y)
    					default:
    						// Neither x nor y are defined types.
    						if yc, _ := under(y).(*Chan); yc != nil && yc.dir != SendRecv {
    							// y is a directed channel type: select y.
    							u.set(px, y)
    						}
    					}
    				}
    				return true
    			}
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. internal/grid/benchmark_test.go

    				for i := 0; i < responses; i++ {
    					toSend := GetByteBuffer()[:0]
    					toSend = append(toSend, byte(i))
    					toSend = append(toSend, payload...)
    					select {
    					case <-ctx.Done():
    						return nil
    					case out <- toSend:
    					}
    				}
    				return nil
    			},
    
    			Subroute:    "some-subroute",
    			OutCapacity: 1, // Only one message buffered.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    					for {
    						select {
    						case <-ctx.Done():
    							return
    						case v, ok := <-in:
    							if !ok {
    								return
    							}
    							input := h.NewRequest()
    							_, err := input.UnmarshalMsg(v)
    							if err != nil {
    								gridLogOnceIf(ctx, err, err.Error())
    							}
    							PutByteBuffer(v)
    							// Send input
    							select {
    							case <-ctx.Done():
    								return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    		ctx := r.Context()
    		select {
    		case <-ctx.Done():
    			t.Error("should not be Done in ServeHTTP")
    		default:
    		}
    		ctxc <- ctx
    	}))
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	res.Body.Close()
    	ctx := <-ctxc
    	select {
    	case <-ctx.Done():
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. tests/integration/telemetry/api/dashboard_test.go

    	// Spread out over 20s so rate() queries will behave correctly
    	ticker := time.NewTicker(time.Second)
    	times := 0
    	for {
    		select {
    		case <-ticker.C:
    			times++
    			scopes.Framework.Infof("sending traffic %v", times)
    			for _, ing := range ingr {
    				hosts, ports := ing.TCPAddresses()
    				host := hosts[0]
    				port := ports[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/crdclient/client.go

    		if !filter(obj) {
    			return false
    		}
    	}
    	if f.filter != nil {
    		return f.filter.Filter(obj)
    	}
    	return true
    }
    
    func (f composedFilter) AddHandler(fn func(selected, deselected sets.String)) {
    	if f.filter != nil {
    		f.filter.AddHandler(fn)
    	}
    }
    
    func composeFilters(filter kubetypes.DynamicObjectFilter, extra ...func(obj any) bool) kubetypes.DynamicObjectFilter {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    			r.Exists = true
    			r.Error = fmt.Sprintf("max size (%d) exceeded: %d", req.MaxSize, len(data))
    			select {
    			case <-ctx.Done():
    				return ctx.Err()
    			case resp <- r:
    				continue
    			}
    		}
    		found++
    		r.Exists = true
    		r.Data = data
    		r.Modtime = mt
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case resp <- r:
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. association.go

    			selectedSaveColumns = append(selectedSaveColumns, ref.ForeignKey.Name)
    		}
    	}
    
    	associationDB := association.DB.Session(&Session{}).Model(nil)
    	if !association.DB.FullSaveAssociations {
    		associationDB.Select(selectedSaveColumns)
    	}
    	if len(omitColumns) > 0 {
    		associationDB.Omit(omitColumns...)
    	}
    	associationDB = associationDB.Session(&Session{})
    
    	switch reflectValue.Kind() {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top