Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 135 for readLines (0.17 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

            if (console != null) {
              callback.password = console.readPassword(callback.prompt)
            } else {
              System.err.println(callback.prompt)
              callback.password = System.`in`.bufferedReader().readLine().toCharArray()
            }
          } else {
            throw UnsupportedCallbackException(callback)
          }
        }
      }
    }
    
    fun main() {
      YubikeyClientAuth().run()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  2. guava/src/com/google/common/base/Stopwatch.java

    import java.time.Duration;
    import java.util.concurrent.TimeUnit;
    
    /**
     * An object that accurately measures <i>elapsed time</i>: the measured duration between two
     * successive readings of "now" in the same process.
     *
     * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
     * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/LineIterator.java

            assertArgumentNotNull("reader", reader);
            this.reader = reader;
        }
    
        @Override
        public boolean hasNext() {
            if (line == EMPTY) {
                line = ReaderUtil.readLine(reader);
            }
            return line != null;
        }
    
        @Override
        public String next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. cni/pkg/constants/constants.go

    	RepairFieldSelectors     = "repair-field-selectors"
    )
    
    // Internal constants
    const (
    	DefaultKubeconfigMode = 0o600
    
    	CNIAddEventPath = "/cmdadd"
    	UDSLogPath      = "/log"
    
    	// K8s liveness and readiness endpoints
    	LivenessEndpoint  = "/healthz"
    	ReadinessEndpoint = "/readyz"
    	ReadinessPort     = "8000"
    )
    
    // Exposed for testing constants
    var (
    	CNIBinDir          = "/opt/cni/bin"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. cmd/http-tracer.go

    	op = strings.Replace(op, "ClusterReadCheckHandler", "health.ClusterRead", 1)
    	op = strings.Replace(op, "LivenessCheckHandler", "health.Liveness", 1)
    	op = strings.Replace(op, "ReadinessCheckHandler", "health.Readiness", 1)
    	op = strings.Replace(op, "-fm", "", 1)
    	return op
    }
    
    // If trace is enabled, execute the request if it is traced by other handlers
    // otherwise, generate a trace event with request information but no response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. architecture/environments/operator.md

    resources | [resources](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container)
    readinessProbe | [readiness probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/)
    replicaCount | [replica count](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 13.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            StringBuilder builder = new StringBuilder();
            try {
                BufferedReader reader = new BufferedReader(new StringReader(rawCommentText));
                String line;
                while ((line = reader.readLine()) != null) {
                    line = line.replaceFirst("\\s*\\* ?", "");
                    if (line.startsWith("@")) {
                        // Ignore the tag section of the comment
                        break;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                maxLineBuffer = maxOutputLineBuffer;
            }
    
            @Override
            public void run() {
                for (;;) {
                    try {
                        final String line = br.readLine();
                        if (line == null) {
                            break;
                        }
                        if (logger.isDebugEnabled()) {
                            logger.debug(line);
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top