Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for newBar (0.22 sec)

  1. src/runtime/slice.go

    		// gives a smooth-ish transition between the two.
    		newcap += (newcap + 3*threshold) >> 2
    
    		// We need to check `newcap >= newLen` and whether `newcap` overflowed.
    		// newLen is guaranteed to be larger than zero, hence
    		// when newcap overflows then `uint(newcap) > uint(newLen)`.
    		// This allows to check for both with the same comparison.
    		if uint(newcap) >= uint(newLen) {
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

            arg_type = quantize_output.getType();
            new_arg = block.addArgument(arg_type, loc);
            quantize_output.replaceAllUsesWith(new_arg);
          } else if (input_type.isUnsignedInteger(
                         current_type.getIntOrFloatBitWidth())) {  // int8 != uint8
            arg_type = quant::ConvertSignedQuantizedToUnsigned(
                quantize_output.getType(), loc);
            new_arg = block.addArgument(arg_type, loc);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java

        }
    
        private Resource alignToBaseDirectory(Resource resource, Path basedir) {
            if (resource != null) {
                String newDir = alignToBaseDirectory(resource.getDirectory(), basedir);
                if (newDir != null) {
                    return resource.withDirectory(newDir);
                }
            }
            return resource;
        }
    
        private String alignToBaseDirectory(String path, Path basedir) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/crypto/aes/ctr_s390x.go

    	storage [streamBufferSize]byte // array backing buffer slice
    }
    
    // NewCTR returns a Stream which encrypts/decrypts using the AES block
    // cipher in counter mode. The length of iv must be the same as [BlockSize].
    func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream {
    	if len(iv) != BlockSize {
    		panic("cipher.NewCTR: IV length must equal block size")
    	}
    	var ac aesctr
    	ac.block = c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/go/types/context_test.go

    		nullaryQ = NewSignatureType(nil, nil, []*TypeParam{tparam}, nil, nil, false)
    	}
    	{
    		// type unaryP = func[P any](_ P)
    		tparam := NewTypeParam(NewTypeName(nopos, nil, "P", nil), &emptyInterface)
    		params := NewTuple(NewVar(nopos, nil, "_", tparam))
    		unaryP = NewSignatureType(nil, nil, []*TypeParam{tparam}, params, nil, false)
    	}
    
    	ctxt := NewContext()
    
    	// Update the context with an instantiation of nullaryP.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

        }
    
        private Resource alignToBaseDirectory(Resource resource, Path basedir) {
            if (resource != null) {
                String newDir = alignToBaseDirectory(resource.getDirectory(), basedir);
                if (newDir != null) {
                    return resource.withDirectory(newDir);
                }
            }
            return resource;
        }
    
        private String alignToBaseDirectory(String path, Path basedir) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    	if a.result.Error != nil {
    		return types.NewErr("composited variable %q fails to compile: %v", a.name, a.result.Error)
    	}
    
    	v, details, err := a.result.Program.ContextEval(a.context, a.activation)
    	if details == nil {
    		return types.NewErr("unable to get evaluation details of variable %q", a.name)
    	}
    	costPtr := details.ActualCost()
    	if costPtr == nil {
    		return types.NewErr("unable to calculate cost of variable %q", a.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/runtime/mspanset.go

    		if top < spineLen {
    			unlock(&b.spineLock)
    			goto retry
    		}
    
    		spine := b.spine.Load()
    		if spineLen == b.spineCap {
    			// Grow the spine.
    			newCap := b.spineCap * 2
    			if newCap == 0 {
    				newCap = spanSetInitSpineCap
    			}
    			newSpine := persistentalloc(newCap*goarch.PtrSize, cpu.CacheLineSize, &memstats.gcMiscSys)
    			if b.spineCap != 0 {
    				// Blocks are allocated off-heap, so
    				// no write barriers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/ureader.go

    				methods := make([]*types.Func, iface.NumExplicitMethods())
    				for i := range methods {
    					fn := iface.ExplicitMethod(i)
    					sig := fn.Type().(*types.Signature)
    
    					recv := types.NewVar(fn.Pos(), fn.Pkg(), "", named)
    					methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic()))
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/universe.go

    	// type error interface{ Error() string }
    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top