Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,080 for write1 (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        val newMaxFrameSize = 16777215
        val writer = Http2Writer(Buffer(), true)
        writer.applyAndAckSettings(Settings().set(Settings.MAX_FRAME_SIZE, newMaxFrameSize))
        assertThat(writer.maxDataLength()).isEqualTo(newMaxFrameSize)
        writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE)
      }
    
      @Test fun streamIdHasReservedBit() {
        val writer = Http2Writer(Buffer(), true)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/util.go

    	writeDconv(buf, p, a, true)
    	return buf.String()
    }
    
    // WriteDconv accepts an argument 'a' within a prog 'p'
    // and writes a formatted version of the arg to the writer.
    func WriteDconv(w io.Writer, p *Prog, a *Addr) {
    	writeDconv(w, p, a, false)
    }
    
    func writeDconv(w io.Writer, p *Prog, a *Addr, abiDetail bool) {
    	switch a.Type {
    	default:
    		fmt.Fprintf(w, "type=%d", a.Type)
    
    	case TYPE_NONE:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

         * This is still potentially valid usage though, and is valid HTTP.
         * Theoretically, a service could accept the write and then redirect to another page that polls for the success of that write.
         */
        def "non method preserving redirects on write result in discarded write"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go

    	writerComplete := make(chan struct{})
    	readerComplete := make(chan struct{})
    
    	go func() {
    		var writer io.WriteCloser
    		if h.MaxBytesPerSec > 0 {
    			writer = flowrate.NewWriter(backendConn, h.MaxBytesPerSec)
    		} else {
    			writer = backendConn
    		}
    		_, err := io.Copy(writer, requestHijackedConn)
    		if err != nil && !strings.Contains(err.Error(), "use of closed network connection") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. src/text/template/funcs.go

    			switch c {
    			case '\\':
    				w.Write(jsBackslash)
    			case '\'':
    				w.Write(jsApos)
    			case '"':
    				w.Write(jsQuot)
    			case '<':
    				w.Write(jsLt)
    			case '>':
    				w.Write(jsGt)
    			case '&':
    				w.Write(jsAmp)
    			case '=':
    				w.Write(jsEq)
    			default:
    				w.Write(jsLowUni)
    				t, b := c>>4, c&0x0f
    				w.Write(hex[t : t+1])
    				w.Write(hex[b : b+1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/net/net.go

    // "writev").
    type Buffers [][]byte
    
    var (
    	_ io.WriterTo = (*Buffers)(nil)
    	_ io.Reader   = (*Buffers)(nil)
    )
    
    // WriteTo writes contents of the buffers to w.
    //
    // WriteTo implements [io.WriterTo] for [Buffers].
    //
    // WriteTo modifies the slice v as well as v[i] for 0 <= i < len(v),
    // but does not modify v[i][j] for any i, j.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

      ParallelIdsMap GetParallelIdsMap(Operation* op);
    
      // Converts from read/write state that relates ops with the same parallel id
      // to a set of last accesses for use with other parallel ids. Reads/writes
      // between parallel ids are conservatively approximated as writes.
      absl::flat_hash_set<Operation*> GetLastWrites(ResourceId resource_id);
    
      // Sets the read/write state for ops within the same parallel id.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	assert.Equal(t, assert.ChannelHasItem(t, writes), buildPatch(ControllerVersion))
    	expectReconciled()
    	assert.ChannelIsEmpty(t, writes)
    	// Test fake doesn't actual do Apply, so manually do this
    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(ControllerVersion)}
    	gws.Update(defaultGateway)
    	expectReconciled()
    	// We shouldn't write in response to our write.
    	assert.ChannelIsEmpty(t, writes)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. pkg/volume/util/atomic_writer_test.go

    		},
    	}
    
    	for _, tc := range cases {
    		targetDir, err := utiltesting.MkTmpdir("atomic-write")
    		if err != nil {
    			t.Errorf("%v: unexpected error creating tmp dir: %v", tc.name, err)
    			continue
    		}
    		defer os.RemoveAll(targetDir)
    
    		writer := &AtomicWriter{targetDir: targetDir, logContext: "-test-"}
    		err = writer.Write(tc.payload1, nil)
    		if err != nil {
    			t.Errorf("%v: unexpected error writing: %v", tc.name, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/encoding/json/stream.go

    			return true
    		}
    	}
    	return false
    }
    
    // An Encoder writes JSON values to an output stream.
    type Encoder struct {
    	w          io.Writer
    	err        error
    	escapeHTML bool
    
    	indentBuf    []byte
    	indentPrefix string
    	indentValue  string
    }
    
    // NewEncoder returns a new encoder that writes to w.
    func NewEncoder(w io.Writer) *Encoder {
    	return &Encoder{w: w, escapeHTML: true}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top