Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 923 for read1 (0.04 sec)

  1. src/cmd/go/internal/mmap/mmap_other.go

    // license that can be found in the LICENSE file.
    
    //go:build (js && wasm) || wasip1 || plan9
    
    package mmap
    
    import (
    	"io"
    	"os"
    )
    
    // mmapFile on other systems doesn't mmap the file. It just reads everything.
    func mmapFile(f *os.File) (Data, error) {
    	b, err := io.ReadAll(f)
    	if err != nil {
    		return Data{}, err
    	}
    	return Data{f, b}, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 454 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Resources.java

        }
      }
    
      /**
       * Returns a {@link CharSource} that reads from the given URL using the given character set.
       *
       * @since 14.0
       */
      public static CharSource asCharSource(URL url, Charset charset) {
        return asByteSource(url).asCharSource(charset);
      }
    
      /**
       * Reads all bytes from a URL into a byte array.
       *
       * @param url the URL to read from
       * @return a byte array containing all the bytes from the URL
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/dist/imports.go

    		r.syntaxError()
    	}
    }
    
    // readIdent reads an identifier from the input.
    // If an identifier is not present, readIdent records a syntax error.
    func (r *importReader) readIdent() {
    	c := r.peekByte(true)
    	if !isIdent(c) {
    		r.syntaxError()
    		return
    	}
    	for isIdent(r.peekByte(false)) {
    		r.peek = 0
    	}
    }
    
    // readString reads a quoted string literal from the input.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 21:45:30 UTC 2019
    - 6.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

        prev_part = part;
      }
    
      Block::iterator next_unscheduled_op = ops.begin();
      const Block::iterator end = ops.end();
    
      // An operation is ready to be scheduled if all its operands are ready. An
      // operand is ready if:
      const auto is_ready = [&](Value value, Operation *top) {
        Operation *parent = value.getDefiningOp();
        // - it is a block argument,
        if (parent == nullptr) return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. src/os/pipe_wasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasm
    
    package os
    
    import "syscall"
    
    // Pipe returns a connected pair of Files; reads from r return bytes written to w.
    // It returns the files and an error, if any.
    func Pipe() (r *File, w *File, err error) {
    	// Neither GOOS=js nor GOOS=wasip1 have pipes.
    	return nil, nil, NewSyscallError("pipe", syscall.ENOSYS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 488 bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharStreams.java

        int nRead;
        long total = 0;
        while ((nRead = from.read(buf)) != -1) {
          to.write(buf, 0, nRead);
          total += nRead;
        }
        return total;
      }
    
      /**
       * Reads all characters from a {@link Readable} object into a {@link String}. Does not close the
       * {@code Readable}.
       *
       * @param r the object to read from
       * @return a string containing all the characters
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. pilot/test/util/diff.go

    func CompareContent(t test.Failer, content []byte, goldenFile string) {
    	t.Helper()
    	golden := ReadGoldenFile(t, content, goldenFile)
    	CompareBytes(t, content, golden, goldenFile)
    }
    
    // ReadGoldenFile reads the content of the golden file and fails the test if an error is encountered
    func ReadGoldenFile(t test.Failer, content []byte, goldenFile string) []byte {
    	t.Helper()
    	RefreshGoldenFile(t, content, goldenFile)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 05 08:53:20 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            do {
                if ((n = readn( in, sbuf, 0, 4 )) < 4)
                    return null;
            } while (sbuf[0] == (byte)0x85);  /* Dodge NetBIOS keep-alive */
                                                       /* read smb header */
            if ((n = readn( in, sbuf, 4, 32 )) < 32)
                return null;
            if (log.level >= 4) {
                log.println( "New data read: " + this );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/PropertyHost.java

    @ServiceScope({Scope.Global.class, Scope.Project.class})
    public interface PropertyHost {
        PropertyHost NO_OP = producer -> null;
    
        /**
         * Returns null if the host allows reads of its state, or a string that explains why reads are not allowed.
         */
        @Nullable
        String beforeRead(@Nullable ModelObject producer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"minReadySeconds":      "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top