Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,506 for dwrite (0.22 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    	conn *Conn
    	num  byte
    	r    io.Reader
    	w    io.WriteCloser
    
    	read, write bool
    }
    
    // newWebsocketChannel creates a pipe for writing to a websocket. Do not write to this pipe
    // prior to the connection being opened. It may be no, half, or full duplex depending on
    // read and write.
    func newWebsocketChannel(conn *Conn, num byte, read, write bool) *websocketChannel {
    	r, w := io.Pipe()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. src/crypto/ed25519/ed25519.go

    	}
    
    	R := (&edwards25519.Point{}).ScalarBaseMult(r)
    
    	kh := sha512.New()
    	if domPrefix != domPrefixPure {
    		kh.Write([]byte(domPrefix))
    		kh.Write([]byte{byte(len(context))})
    		kh.Write([]byte(context))
    	}
    	kh.Write(R.Bytes())
    	kh.Write(publicKey)
    	kh.Write(message)
    	hramDigest := make([]byte, 0, sha512.Size)
    	hramDigest = kh.Sum(hramDigest)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java

        }
    
        @Override
        public void write(Encoder encoder, IncludeDirectives value) throws Exception {
            includeListSerializer.write(encoder, value.getAll());
            macroListSerializer.write(encoder, value.getAllMacros());
            macroFunctionListSerializer.write(encoder, value.getAllMacroFunctions());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. src/text/tabwriter/tabwriter_test.go

    	var b buffer
    	b.init(1000)
    
    	var w Writer
    	w.Init(&b, minwidth, tabwidth, padding, padchar, flags)
    
    	// write all at once
    	title := testname + " (written all at once)"
    	b.clear()
    	write(t, title, &w, src)
    	verify(t, title, &w, &b, src, expected)
    
    	// write byte-by-byte
    	title = testname + " (written byte-by-byte)"
    	b.clear()
    	for i := 0; i < len(src); i++ {
    		write(t, title, &w, src[i:i+1])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    	assert.Equal(t, expectedHeader, trw.Header(), "")
    	// Validate Write() for delegate response writer.
    	expectedWrite := []byte("this is a test write string")
    	assert.False(t, trw.written, "written field is before Write()")
    	_, err := trw.Write(expectedWrite)
    	assert.NoError(t, err, "No error expected after Write() on tunneling response writer")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel.go

    // Once Write or WriteHeader is called, Hijack returns an error.
    // Once Hijack is called, Write, WriteHeader, and Hijack return errors.
    type tunnelingResponseWriter struct {
    	// w is used to delegate Header(), WriteHeader(), and Write() calls
    	w http.ResponseWriter
    	// conn is returned from Hijack()
    	conn net.Conn
    	// mu guards writes
    	mu sync.Mutex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/metrics.cc

    // across "api_label" is not expected to equal the ".../write/count" cell value
    // because programs can invoke more than one API to save a single SM and
    // because the API may error out before successfully writing a SM.
    auto* saved_model_write_api = monitoring::Counter<1>::New(
        "/tensorflow/core/saved_model/write/api",
        "The API used to write the SavedModel.", "api_label");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

            host: Host,
            private val writer: ScopedFingerprintWriter<ConfigurationCacheFingerprint>
        ) : Sink(host) {
            override fun write(value: ConfigurationCacheFingerprint, trace: PropertyTrace?) {
                writer.write(value, trace)
            }
    
            fun initScripts(initScripts: List<File>) {
                capturedFiles.addAll(initScripts)
                write(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn_test.go

    	}
    
    	// verify that a read from a Write channel doesn't block
    	data = make([]byte, 1024)
    	if n, err := conn.channels[4].Read(data); n != 0 || err != io.EOF {
    		t.Errorf("reads should be ignored")
    	}
    
    	// verify that a client write to a Write channel doesn't block (is dropped)
    	if n, err := client.Write(append([]byte{4}, []byte("ignored")...)); err != nil || n != 8 {
    		t.Fatalf("%d: %v", n, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top