- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for recordLine (0.42 sec)
-
src/go/printer/nodes.go
p.linebreak(p.lineFor(s.Pos()), 1, ignore, p.linesFrom(line) > 0) } p.recordLine(&line) p.valueSpec(s.(*ast.ValueSpec), keepType[i]) } } else { var line int for i, s := range d.Specs { if i > 0 { p.linebreak(p.lineFor(s.Pos()), 1, ignore, p.linesFrom(line) > 0) } p.recordLine(&line) p.spec(s, n, false) } } p.print(unindent, formfeed)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/go/printer/printer.go
size += len(c.Text) } p.nextComment() } return size } // recordLine records the output line number for the next non-whitespace // token in *linePtr. It is used to compute an accurate line number for a // formatted construct, independent of pending (not yet emitted) whitespace // or comments. func (p *printer) recordLine(linePtr *int) { p.linePtr = linePtr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
pkg/monitoring/monitoring.go
// Record makes an observation of the provided value for the given measure. Record(value float64) // RecordInt makes an observation of the provided value for the measure. RecordInt(value int64) // With creates a new Metric, with the LabelValues provided. This allows creating // a set of pre-dimensioned data for recording purposes. This is primarily used // for documentation and convenience. Metrics created with this method do not need
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0) -
pkg/monitoring/disabled.go
// Name implements Metric func (dm *disabledMetric) Name() string { return dm.name } // Record implements Metric func (dm *disabledMetric) Record(value float64) {} // RecordInt implements Metric func (dm *disabledMetric) RecordInt(value int64) {} // Register implements Metric func (dm *disabledMetric) Register() error { return nil } // With implements Metric
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/AbstractModuleMetadataCache.java
return get(key); } @Override public CachedMetadata cacheMissing(ModuleComponentRepository<?> repository, ModuleComponentIdentifier id) { LOGGER.debug("Recording absence of module descriptor in cache: {} [changing = {}]", id, false); ModuleComponentAtRepositoryKey key = createKey(repository, id);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/queue/instance.go
} } func (q *queueImpl) Push(item Task) { q.cond.L.Lock() defer q.cond.L.Unlock() if !q.closing { q.tasks = append(q.tasks, &queueTask{task: item, enqueueTime: time.Now()}) q.metrics.depth.RecordInt(int64(len(q.tasks))) } q.cond.Signal() } func (q *queueImpl) Closed() <-chan struct{} { return q.closed } // get blocks until it can return a task to be processed. If shutdown = true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 4.1K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java
*/ package org.apache.maven.artifact.resolver; import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; /** * A simple recording of the Artifacts that could not be resolved for a given resolution request, along with * the remote repositories where attempts were made to resolve the artifacts. * */ @Deprecated public class UnresolvedArtifacts {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
const ChangeCauseAnnotation = "kubernetes.io/change-cause" // RecordFlags contains all flags associated with the "--record" operation type RecordFlags struct { // Record indicates the state of the recording flag. It is a pointer so a caller can opt out or rebind Record *bool changeCause string } // ToRecorder returns a ChangeCause recorder if --record=false was not // explicitly given by the user
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/monitoring/base.go
return LabelValue{e} }) rh.OnRecord(f.name, lv, value) } recordHookMutex.RUnlock() } func (f baseMetric) Register() error { return nil } func (f baseMetric) RecordInt(value int64) { f.rest.Record(float64(value)) } func rebuildAttributes(bm baseMetric, labelValues []LabelValue) ([]attribute.KeyValue, attribute.Set) { attrs := make([]attribute.KeyValue, 0, len(bm.attrs)+len(labelValues))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultMultipleCandidateResult.java
import java.util.Set; public class DefaultMultipleCandidateResult<T> implements MultipleCandidatesResult<T> { private final Set<T> candidateValues; private final T consumerValue; // Match recording is optimized for the general case of a single match private T singleMatch; private Set<T> multipleMatches; public DefaultMultipleCandidateResult(@Nullable T consumerValue, Set<T> candidateValues) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.8K bytes - Viewed (0)