Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for getm (0.05 sec)

  1. src/runtime/mheap.go

    type mSpanStateBox struct {
    	s atomic.Uint8
    }
    
    // It is nosplit to match get, below.
    
    //go:nosplit
    func (b *mSpanStateBox) set(s mSpanState) {
    	b.s.Store(uint8(s))
    }
    
    // It is nosplit because it's called indirectly by typedmemclr,
    // which must not be preempted.
    
    //go:nosplit
    func (b *mSpanStateBox) get() mSpanState {
    	return mSpanState(b.s.Load())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    			Codecs, schema.GroupVersion{Group: requestInfo.APIGroup, Version: requestInfo.APIVersion}, w, req,
    		)
    		return nil
    	}
    }
    
    // createCustomResourceDefinition removes potentially stale storage so it gets re-created
    func (r *crdHandler) createCustomResourceDefinition(obj interface{}) {
    	crd := obj.(*apiextensionsv1.CustomResourceDefinition)
    	r.customStorageLock.Lock()
    	defer r.customStorageLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Preconditions.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends AbstractFuture<V>
          implements Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  5. guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends AbstractFuture<V>
          implements Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	return watcher, nil
    }
    
    // Get implements storage.Interface.
    func (c *Cacher) Get(ctx context.Context, key string, opts storage.GetOptions, objPtr runtime.Object) error {
    	if opts.ResourceVersion == "" {
    		// If resourceVersion is not specified, serve it from underlying
    		// storage (for backward compatibility).
    		return c.storage.Get(ctx, key, opts, objPtr)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. src/runtime/mgcpacer.go

    			c.setMaxIdleMarkWorkers(0)
    		} else {
    			// TODO(mknyszek): The fundamental reason why we need this is because
    			// we can't count on the fractional mark worker to get scheduled.
    			// Fix that by ensuring it gets scheduled according to its quota even
    			// if the rest of the application is idle.
    			c.setMaxIdleMarkWorkers(1)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

                                                   Value& zero_point) {
      TensorType scale_type = RankedTensorType::get({}, rewriter.getF32Type());
      TensorType zero_point_type = scale_type.clone(rewriter.getI32Type());
      scale = rewriter.create<TF::ConstOp>(
          loc, scale_type,
          DenseFPElementsAttr::get(scale_type,
                                   {static_cast<float>(qtype.getScale())}));
      zero_point = rewriter.create<TF::ConstOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/type.go

    	startResults int // index of the start of the results section
    
    	resultsTuple *Type // struct-like type representing multi-value results
    
    	// Argwid is the total width of the function receiver, params, and results.
    	// It gets calculated via a temporary TFUNCARGS type.
    	// Note that TFUNC's Width is Widthptr.
    	Argwid int64
    }
    
    func (ft *Func) recvs() []*Field         { return ft.allParams[:ft.startParams] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    func getAPIError(code APIErrorCode) APIError {
    	if apiErr, ok := errorCodes[code]; ok {
    		return apiErr
    	}
    	return errorCodes.ToAPIErr(ErrInternalError)
    }
    
    // getErrorResponse gets in standard error and resource value and
    // provides a encodable populated response values
    func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top