- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for recordLine (0.2 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) -
src/internal/types/testdata/fixedbugs/issue51658.go
package p type F { // ERRORx "expected type|type declaration" float64 } // ERRORx "expected declaration|non-declaration statement" func _[T F | int](x T) { _ = x == 0 // don't crash when recording type of 0 } // test case from issue type FloatType { // ERRORx "expected type|type declaration" float32 | float64 } // ERRORx "expected declaration|non-declaration statement" type IntegerType interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1016 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) -
staging/src/k8s.io/api/core/v1/objectreference.go
"k8s.io/apimachinery/pkg/runtime/schema" ) // IsAnAPIObject allows clients to preemptively get a reference to an API object and pass it to places that // intend only to get a reference to that object. This simplifies the event recording interface. func (obj *ObjectReference) SetGroupVersionKind(gvk schema.GroupVersionKind) { obj.APIVersion, obj.Kind = gvk.ToAPIVersionAndKind() } func (obj *ObjectReference) GroupVersionKind() schema.GroupVersionKind {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 22 17:21:42 UTC 2017 - 1.2K bytes - Viewed (0)