Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 488 for reading_ (0.07 sec)

  1. src/bufio/bufio.go

    // Discard skips the next n bytes, returning the number of bytes discarded.
    //
    // If Discard skips fewer than n bytes, it also returns an error.
    // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
    // reading from the underlying io.Reader.
    func (b *Reader) Discard(n int) (discarded int, err error) {
    	if n < 0 {
    		return 0, ErrNegativeCount
    	}
    	if n == 0 {
    		return
    	}
    
    	b.lastByte = -1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen.go

    					return
    				}
    				z.ErasureAlgorithm = ErasureAlgo(zb0002)
    			}
    		case "EcM":
    			z.ErasureM, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureM")
    				return
    			}
    		case "EcN":
    			z.ErasureN, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureN")
    				return
    			}
    		case "EcBSize":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Что такое "контекстные менеджеры"
    
    "Контекстные менеджеры" - это любые объекты Python, которые можно использовать в операторе `with`.
    
    Например, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">можно использовать `with` для чтения файла</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
    - 19.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
     * Instances of this class are immutable. Use [Builder] to create instances.
     */
    @Suppress("NAME_SHADOWING")
    class Headers internal constructor(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/en/docs/tutorial/sql-databases.md

    * `Field(index=True)` tells SQLModel that it should create a **SQL index** for this column, that would allow faster lookups in the database when reading data filtered by this column.
    
        SQLModel will know that something declared as `str` will be a SQL column of type `TEXT` (or `VARCHAR`, depending on the database).
    
    ### Create an Engine
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.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. guava/src/com/google/common/net/HostAndPort.java

          }
        }
    
        int port = NO_PORT;
        if (!Strings.isNullOrEmpty(portString)) {
          // Try to parse the whole port string as a number.
          // Java accepts leading plus signs. We don't want to.
          checkArgument(
              !portString.startsWith("+") && CharMatcher.ascii().matchesAllOf(portString),
              "Unparseable port number: %s",
              hostPortString);
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top