Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for recordLine (0.18 sec)

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

    	if check != nil {
    		check.needsCleanup(a)
    	}
    
    	return a
    }
    
    // newAliasInstance creates a new alias instance for the given origin and type
    // arguments, recording pos as the position of its synthetic object (for error
    // reporting).
    func (check *Checker) newAliasInstance(pos syntax.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. pkg/registry/core/serviceaccount/storage/storage_test.go

    	if err != nil {
    		t.Fatalf("failed creating test service account: %v", err)
    	}
    
    	// create an audit context to allow recording audit information
    	ctx = audit.WithAuditContext(ctx)
    	_, err = storage.Token.Create(ctx, serviceAccount.Name, &authenticationapi.TokenRequest{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccount.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/go/types/alias.go

    	if check != nil {
    		check.needsCleanup(a)
    	}
    
    	return a
    }
    
    // newAliasInstance creates a new alias instance for the given origin and type
    // arguments, recording pos as the position of its synthetic object (for error
    // reporting).
    func (check *Checker) newAliasInstance(pos token.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

                    // no need to persist the removal, but the set value should not be persisted too. A placeholder value
                    // will keep the key mutated to avoid recording it as an input.
                    mutatedSystemProperties[key] = SystemPropertyIgnored
                }
            }
    
            fun systemPropertiesCleared() {
                systemPropertiesCleared = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    }
    
    func loadEventWithDuration(cache *testWatchCache, count int, interval time.Duration) {
    	for i := 0; i < count; i++ {
    		event := &watchCacheEvent{
    			Key:        fmt.Sprintf("event-%d", i+cache.startIndex),
    			RecordTime: cache.clock.Now().Add(time.Duration(interval.Nanoseconds() * int64(i))),
    		}
    		cache.cache[(i+cache.startIndex)%cache.capacity] = event
    	}
    	cache.endIndex = cache.startIndex + count
    }
    
    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. pkg/registry/core/service/portallocator/allocator.go

    	offset := port - r.portRange.Base
    	return true, offset
    }
    
    // Destroy shuts down internal allocator.
    func (r *PortAllocator) Destroy() {
    	r.alloc.Destroy()
    }
    
    // EnableMetrics enables metrics recording.
    func (r *PortAllocator) EnableMetrics() {
    	registerMetrics()
    	r.metrics = &metricsRecorder{}
    }
    
    // calculateRangeOffset estimates the offset used on the range for statically allocation based on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/internal/coverage/cformat/format.go

    	// Pointer to current package state.
    	p *pstate
    	// Counter mode.
    	cm coverage.CounterMode
    }
    
    // pstate records package-level coverage data state:
    // - a table of functions (file/fname/literal)
    // - a map recording the index/ID of each func encountered so far
    // - a table storing execution count for the coverable units in each func
    type pstate struct {
    	// slice of unique functions
    	funcs []fnfile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/check_test.go

    	}()
    	buildcfg.Experiment = *exp
    
    	// By default, gotypesalias is not set.
    	if gotypesalias != "" {
    		conf.EnableAlias = gotypesalias != "0"
    	}
    
    	// Provide Config.Info with all maps so that info recording is tested.
    	info := Info{
    		Types:        make(map[syntax.Expr]TypeAndValue),
    		Instances:    make(map[*syntax.Name]Instance),
    		Defs:         make(map[*syntax.Name]Object),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/go/types/check_test.go

    	buildcfg.Experiment = *exp
    
    	// By default, gotypesalias is not set.
    	if gotypesalias != "" {
    		t.Setenv("GODEBUG", "gotypesalias="+gotypesalias)
    	}
    
    	// Provide Config.Info with all maps so that info recording is tested.
    	info := Info{
    		Types:        make(map[ast.Expr]TypeAndValue),
    		Instances:    make(map[*ast.Ident]Instance),
    		Defs:         make(map[*ast.Ident]Object),
    		Uses:         make(map[*ast.Ident]Object),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/go/types/typeset.go

    	// set (and don't store it!), so that we still compute the full
    	// type set eventually. Instead, return the top type set and
    	// let any follow-on errors play out.
    	//
    	// TODO(gri) Consider recording when this happens and reporting
    	// it as an error (but only if there were no other errors so to
    	// to not have unnecessary follow-on errors).
    	if !ityp.complete {
    		return &topTypeSet
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top