Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 553 for readings (0.06 sec)

  1. istioctl/pkg/analyze/analyze.go

    	for _, f := range args {
    		var r *os.File
    
    		// Handle "-" as stdin as a special case.
    		if f == "-" {
    			if isatty.IsTerminal(os.Stdin.Fd()) && !isJSONorYAMLOutputFormat() {
    				fmt.Fprint(cmd.OutOrStdout(), "Reading from stdin:\n")
    			}
    			r = os.Stdin
    			readers = append(readers, local.ReaderSource{Name: f, Reader: r})
    			continue
    		}
    
    		fi, err := os.Stat(f)
    		if err != nil {
    			return nil, err
    		}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. cmd/update.go

    		}
    	}
    
    	contentBytes, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    			Message:    fmt.Sprintf("Error reading response. %s", err),
    			StatusCode: http.StatusInternalServerError,
    		}
    	}
    
    	return string(contentBytes), nil
    }
    
    func releaseInfoToReleaseTime(releaseInfo string) (releaseTime time.Time, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    // license that can be found in the LICENSE file.
    
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // Scanner provides a convenient interface for reading data such as
    // a file of newline-delimited lines of text. Successive calls to
    // the [Scanner.Scan] method will step through the 'tokens' of a file, skipping
    // the bytes between the tokens. The specification of a token is
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ### O que são gerenciadores de contexto
    
    "Gerenciadores de Contexto" são qualquer um dos objetos Python que podem ser utilizados com a declaração `with`.
    
    Por exemplo, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">você pode utilizar `with` para ler um arquivo</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/MoreFiles.java

       * the traverser cannot guarantee that it will not follow symbolic links to directories as it is
       * possible for a directory to be replaced with a symbolic link between checking if the file is a
       * directory and actually reading the contents of that directory.
       *
       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/MoreFiles.java

       * the traverser cannot guarantee that it will not follow symbolic links to directories as it is
       * possible for a directory to be replaced with a symbolic link between checking if the file is a
       * directory and actually reading the contents of that directory.
       *
       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		// Buffer size greater than object size. - 6
    		{
    			volume, "myobject", 0, 16,
    			[]byte("hello, world"),
    			io.ErrUnexpectedEOF,
    		},
    		// Reading from an offset success. - 7
    		{
    			volume, "myobject", 7, 5,
    			[]byte("world"), nil,
    		},
    		// Reading from an object but buffer size greater. - 8
    		{
    			volume, "myobject",
    			7, 8,
    			[]byte("world"),
    			io.ErrUnexpectedEOF,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
      }
    
      private void doTestExistsThrowsSecurityException() throws IOException, URISyntaxException {
        File file = null;
        // In Java 9, Logger may read the TZ database. Only disallow reading the class path URLs.
        final PermissionCollection readClassPathFiles =
            new FilePermission("", "read").newPermissionCollection();
        for (URL url : ClassPath.parseJavaClassPath()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        ConcurrentMap<E, Integer> deserializedCountMap =
            (ConcurrentMap<E, Integer>) requireNonNull(stream.readObject());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * body. This was misleading for tracing because it was too early.
       */
      open fun responseBodyStart(call: Call) {
      }
    
      /**
       * Invoked immediately after receiving a response body and completing reading it.
       *
       * Will only be invoked for requests having a response body e.g. won't be invoked for a web socket
       * upgrade.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top