Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for recordLine (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

    import kotlin.reflect.KProperty
    
    
    /**
     * Maintains the current state of the build configuration input tracking.
     * Input tracking may be disabled for a particular thread to avoid recording inputs that doesn't
     * directly affect the configuration.
     * For example, accessing environment variable inside the `ValueSource` being obtained at
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryDisabler.java

         */
        Optional<Throwable> getDisabledReason(String repositoryId);
    
        /**
         * Attempts to disable the repository with the given id, recording the exception causing it to be disabled, if
         * that exception is deemed critical.
         *
         * @param repositoryId the id of the repository to disable
         * @param throwable the reason why the repository is being disabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:29:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top