Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,181 for READ (0.04 sec)

  1. src/cmd/go/internal/modindex/read.go

    		if err != nil {
    			return nil, err
    		}
    		data, _, err := cache.GetMmap(cache.Default(), id)
    		if err != nil {
    			// Couldn't read from modindex. Assume we couldn't read from
    			// the index because the module hasn't been indexed yet.
    			data, err = indexModule(modroot)
    			if err != nil {
    				return nil, err
    			}
    			if err = cache.PutBytes(cache.Default(), id, data); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/go/build/read.go

    					if r.eof {
    						r.syntaxError()
    					}
    					c, c1 = c1, r.readByteNoBuf()
    				}
    				startLine = false
    
    			case '/':
    				if startLine {
    					// Try to read this as a //go:embed comment.
    					for i := range goEmbed {
    						c = r.readByteNoBuf()
    						if c != goEmbed[i] {
    							goto SkipSlashSlash
    						}
    					}
    					c = r.readByteNoBuf()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    Alan Donovan <******@****.***> 1714508407 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/imports/read.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Copied from Go distribution src/go/build/read.go.
    
    package imports
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    type importReader struct {
    	b    *bufio.Reader
    	buf  []byte
    	peek byte
    	err  error
    	eof  bool
    	nerr int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 15 18:42:11 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  5. src/encoding/xml/read.go

    	}
    
    	if val.Type().Kind() == reflect.Slice && val.Type().Elem().Kind() != reflect.Uint8 {
    		// Slice of element values.
    		// Grow slice.
    		n := val.Len()
    		val.Grow(1)
    		val.SetLen(n + 1)
    
    		// Recur to read element into slice.
    		if err := d.unmarshalAttr(val.Index(n), attr); err != nil {
    			val.SetLen(n)
    			return err
    		}
    		return nil
    	}
    
    	if val.Type() == attrType {
    		val.Set(reflect.ValueOf(attr))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

    // RUN: tf-opt -tf-tpu-resource-read-for-write %s | FileCheck %s --dump-input=always
    
    // CHECK-LABEL: func @write_only_resource
    // CHECK-SAME: ([[ARG0:%.*]]: tensor<i32>, [[ARG1:%.*]]: tensor<f32>, [[ARG2:%.*]]: tensor<*x!tf_type.resource<tensor<i32>>>)
    func.func @write_only_resource(%arg0: tensor<i32>, %arg1: tensor<f32>, %arg2: tensor<*x!tf_type.resource<tensor<i32>>>) {
      // CHECK-NEXT: [[READ:%.*]] = "tf.ReadVariableOp"([[ARG2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      std::string result;
      result.resize(6);
      int64_t read = tf_random_access_file::Read(file, 0, 6, &result[0], status_);
      ASSERT_EQ(read, 6) << "Read: " << read << "\n";
      ASSERT_TF_OK(status_);
      ASSERT_EQ(result, "012345") << "Result: " << result << "\n";
    
      read = tf_random_access_file::Read(file, 6, 6, &result[0], status_);
      ASSERT_EQ(read, 4) << "Read: " << read << "\n";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    	if n, err := r.Read(buf); err != io.ErrShortBuffer && n != 1 && bytes.Equal(buf, []byte{0x01}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read the remaining frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != io.ErrUnexpectedEOF && n != 1 && bytes.Equal(buf, []byte{0x02}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read EOF
    	if n, err := r.Read(buf); err != io.EOF && n != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/debug/pe/file.go

    			!read(&oh32.MajorOperatingSystemVersion) ||
    			!read(&oh32.MinorOperatingSystemVersion) ||
    			!read(&oh32.MajorImageVersion) ||
    			!read(&oh32.MinorImageVersion) ||
    			!read(&oh32.MajorSubsystemVersion) ||
    			!read(&oh32.MinorSubsystemVersion) ||
    			!read(&oh32.Win32VersionValue) ||
    			!read(&oh32.SizeOfImage) ||
    			!read(&oh32.SizeOfHeaders) ||
    			!read(&oh32.CheckSum) ||
    			!read(&oh32.Subsystem) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(-1, reader.read());
        assertEquals(-1, reader.read(new char[10], 0, 10));
        assertEquals(-1, reader.read(CharBuffer.allocate(10)));
        assertEquals(0, reader.skip(10));
      }
    
      private static String readFully(CharSequenceReader reader) throws IOException {
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read()) != -1) {
          builder.append((char) read);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top