Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for expanding (1.65 sec)

  1. src/cmd/compile/internal/types2/instantiate.go

    	// The order of the contexts below matters: we always prefer instances in the
    	// expanding instance context in order to preserve reference cycles.
    	//
    	// Invariant: if expanding != nil, the returned instance will be the instance
    	// recorded in expanding.inst.ctxt.
    	var ctxts []*Context
    	if expanding != nil {
    		ctxts = append(ctxts, expanding.inst.ctxt)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/go/types/instantiate.go

    	// The order of the contexts below matters: we always prefer instances in the
    	// expanding instance context in order to preserve reference cycles.
    	//
    	// Invariant: if expanding != nil, the returned instance will be the instance
    	// recorded in expanding.inst.ctxt.
    	var ctxts []*Context
    	if expanding != nil {
    		ctxts = append(ctxts, expanding.inst.ctxt)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/subst.go

    // from the incoming type.
    //
    // If expanding is non-nil, it is the instance type currently being expanded.
    // One of expanding or ctxt must be non-nil.
    func (check *Checker) subst(pos syntax.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/go/types/subst.go

    // incoming type. If a substitution took place, the result type is different
    // from the incoming type.
    //
    // If expanding is non-nil, it is the instance type currently being expanded.
    // One of expanding or ctxt must be non-nil.
    func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    		upperBoundCapacity int
    		interval           time.Duration
    		expectCapacity     int
    		expectStartIndex   int
    	}{
    		{
    			name:               "[capacity not equals 4*n] events inside eventFreshDuration cause cache expanding",
    			eventCount:         5,
    			cacheCapacity:      5,
    			lowerBoundCapacity: 5 / 2,
    			upperBoundCapacity: 5 * 2,
    			interval:           eventFreshDuration / 6,
    			expectCapacity:     10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/named.go

    	// Only pass the expanding context to the new instance if their packages
    	// match. Since type reference cycles are only possible within a single
    	// package, this is sufficient for the purposes of short-circuiting cycles.
    	// Avoiding passing the context in other cases prevents unnecessary coupling
    	// of types across packages.
    	if expanding != nil && expanding.Obj().pkg == obj.pkg {
    		inst.ctxt = expanding.inst.ctxt
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/go/types/named.go

    	// Only pass the expanding context to the new instance if their packages
    	// match. Since type reference cycles are only possible within a single
    	// package, this is sufficient for the purposes of short-circuiting cycles.
    	// Avoiding passing the context in other cases prevents unnecessary coupling
    	// of types across packages.
    	if expanding != nil && expanding.Obj().pkg == obj.pkg {
    		inst.ctxt = expanding.inst.ctxt
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h

    // `tensorflow::mutex_lock` here but we have ops (`tf.MutexLock` and
    // `tf.ConsumeMutexLock`) with getter methods named as `mutex_lock()`. Need to
    // undefine here to avoid expanding the getter symbol as macro when including
    // both mutex.h and this header file.
    #undef mutex_lock
    
    #define GET_OP_FWD_DEFINES
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_all_ops.h.inc"
    #define GET_OP_CLASSES
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java

                        return;
                    }
                }
                // References some fixed value expression, return it after macro expanding
                macroFunctions.add(new ReturnFixedValueMacroFunction(macroName, paramNames.size(), IncludeType.MACRO, expression.getValue(), Collections.<Expression>emptyList()));
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    // Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation
    // Function (HKDF) as defined in RFC 5869.
    //
    // HKDF is a cryptographic key derivation function (KDF) with the goal of
    // expanding limited input keying material into one or more cryptographically
    // strong secret keys.
    package hkdf // import "golang.org/x/crypto/hkdf"
    
    import (
    	"crypto/hmac"
    	"errors"
    	"hash"
    	"io"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top