Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 202 for write32 (0.14 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/doc.go

    // do so because of a mistake in its method signature.
    // For example, the result of this WriteTo method should be (int64, error),
    // not error, to satisfy io.WriterTo:
    //
    //	type myWriterTo struct{...}
    //	func (myWriterTo) WriteTo(w io.Writer) error { ... }
    //
    // This check ensures that each method whose name matches one of several
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. releasenotes/notes/concurrent-map-write.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 13 15:23:12 UTC 2024
    - 171 bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        val out = Buffer()
        body.writeTo(out)
        assertThat(out.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun encodedPair() {
        val body =
          FormBody.Builder()
            .add("sim", "ple")
            .build()
        val expected = "sim=ple"
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/internal/buildid/rewrite.go

    			i := bytes.Index(buf[start:tiny+n], idBytes)
    			if i < 0 {
    				break
    			}
    			matches = append(matches, offset+int64(start+i-tiny))
    			h.Write(buf[start : start+i])
    			h.Write(zeros)
    			start += i + len(id)
    		}
    		if n < bufSize {
    			// Did not fill buffer, must be at end of file.
    			h.Write(buf[start : tiny+n])
    			break
    		}
    
    		// Process all but final tiny bytes of buf (bufSize = len(buf)-tiny).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      %read = "tf.TensorArrayReadV3"(%ta#0, %index, %write) : (tensor<!tf_type.resource>, tensor<i32>, tensor<f32>) -> tensor<3xf32>
      // CHECK-NOT: TensorArrayCloseV3
      "tf.TensorArrayCloseV3"(%ta#0) : (tensor<!tf_type.resource>) -> ()
      // CHECK: return %[[READ]] : tensor<3xf32>
      func.return %read: tensor<3xf32>
    }
    
    // -----
    
    // Test inferring shape from the first write.
    
    // CHECK-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		return nil, err
    	}
    
    	// Establish file header and initial data area if not already present.
    	if info.Size() < minFileLen {
    		if _, err := f.WriteAt(hdr, 0); err != nil {
    			return nil, err
    		}
    		// Write zeros at the end of the file to extend it to minFileLen.
    		if _, err := f.WriteAt(m.zero[:], int64(minFileLen-len(m.zero))); err != nil {
    			return nil, err
    		}
    		info, err = f.Stat()
    		if err != nil {
    			return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/AbstractSourceGenerator.java

        }
    
        protected void addImport(String clazz) throws IOException {
            writeLn("import " + clazz + ";");
        }
    
        protected void writeLn() throws IOException {
            writer.write(ln);
        }
    
        public void writeLn(String source) throws IOException {
            writeIndent();
            writer.write(source + ln);
        }
    
        protected void writeIndent() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/StatefulNextGenBuildCacheService.java

                        writeTo(data);
                        return data.toInputStream();
                    }
    
                    @Override
                    public void writeTo(OutputStream output) throws IOException {
                        legacyWriter.writeTo(output);
                    }
    
                    @Override
                    public long getSize() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. pkg/bootstrap/instance.go

    // Instance of a configured Envoy bootstrap writer.
    type Instance interface {
    	// WriteTo writes the content of the Envoy bootstrap to the given writer.
    	WriteTo(templateFile string, w io.Writer) error
    
    	// CreateFile generates an Envoy bootstrap file.
    	CreateFile() (string, error)
    }
    
    // New creates a new Instance of an Envoy bootstrap writer.
    func New(cfg Config) Instance {
    	return &instance{
    		Config: cfg,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/net/writev_test.go

    		var err error
    		if useCopy {
    			n, err = io.Copy(c, &buffers)
    		} else {
    			n, err = buffers.WriteTo(c)
    		}
    		if err != nil {
    			return err
    		}
    		if len(buffers) != 0 {
    			return fmt.Errorf("len(buffers) = %d; want 0", len(buffers))
    		}
    		if n != int64(want.Len()) {
    			return fmt.Errorf("Buffers.WriteTo returned %d; want %d", n, want.Len())
    		}
    		return nil
    	}, func(c *TCPConn) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top