Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 4,375 for dwrite (0.2 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

            return serializer.read(decoder);
        }
    
        @Override
        public void write(Encoder encoder, ImplementationSnapshot implementationSnapshot) throws Exception {
            Impl serializer = determineSerializer(implementationSnapshot);
            encoder.writeSmallInt(serializer.ordinal());
            serializer.write(encoder, implementationSnapshot);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/metrics.h

    monitoring::CounterCell& SavedModelReadCount(absl::string_view write_version);
    
    // Returns "/tensorflow/core/saved_model/write/api" cell. This metric has 1
    // field "api_label" which corresponds to a SavedModel write API. The cell for
    // `foo` should be incremented when the write API `foo` is called.
    monitoring::CounterCell& SavedModelWriteApi(absl::string_view api_label);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/crypto/cipher/io.go

    // StreamWriter wraps a [Stream] into an io.Writer. It calls XORKeyStream
    // to process each slice of data which passes through. If any [StreamWriter.Write]
    // call returns short then the StreamWriter is out of sync and must be discarded.
    // A StreamWriter has no internal buffering; [StreamWriter.Close] does not need
    // to be called to flush write data.
    type StreamWriter struct {
    	S   Stream
    	W   io.Writer
    	Err error // unused
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/NonIncrementalProcessorFixture.groovy

            Writer writer = sourceFile.openWriter();
            try {
                writer.write("class " + className + " {");
                writer.write("    String getValue() { return \\"");
                writer.write("Hello World");
                writer.write("\\"; }");
                writer.write("}");
            } finally {
                writer.close();
            }
        } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_tls13.go

    		}
    	}
    
    	var echRetryConfigList []byte
    	if hs.echContext != nil {
    		confTranscript := cloneHash(hs.echContext.innerTranscript, hs.suite.hash)
    		confTranscript.Write(hs.serverHello.original[:30])
    		confTranscript.Write(make([]byte, 8))
    		confTranscript.Write(hs.serverHello.original[38:])
    		acceptConfirmation := hs.suite.expandLabel(
    			hs.suite.extract(hs.echContext.innerHello.random, nil),
    			"ech accept confirmation",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. test/fixedbugs/issue43570.go

    	var q T
    	func() {
    		for i := 0; i < N; i++ {
    			q = f(0)
    			g(0, q)
    			sink = make([]byte, 1024)
    		}
    	}()
    	// Note that the closure is a trick to get the write to q to be a
    	// write to a pointer that is known to be non-nil and requires
    	// a write barrier.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 05:00:06 UTC 2021
    - 661 bytes
    - Viewed (0)
  7. src/compress/flate/writer_test.go

    			w.Reset(io.Discard)
    			w.Write(buf1)
    			w.Close()
    		}
    	})
    }
    
    // errorWriter is a writer that fails after N writes.
    type errorWriter struct {
    	N int
    }
    
    func (e *errorWriter) Write(b []byte) (int, error) {
    	if e.N <= 0 {
    		return 0, io.ErrClosedPipe
    	}
    	e.N--
    	return len(b), nil
    }
    
    // Test if errors from the underlying writer is passed upwards.
    func TestWriteError(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      }
    
      /**
       * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeInt(int v) throws IOException {
        out.write(0xFF & v);
        out.write(0xFF & (v >> 8));
        out.write(0xFF & (v >> 16));
        out.write(0xFF & (v >> 24));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ByteArrayDataOutput.java

     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataOutput extends DataOutput {
      @Override
      void write(int b);
    
      @Override
      void write(byte b[]);
    
      @Override
      void write(byte b[], int off, int len);
    
      @Override
      void writeBoolean(boolean v);
    
      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerRegistryTest.groovy

                return decoder.readSmallLong()
            }
            write(_, _) >> { Encoder encoder, Long value ->
                encoder.writeSmallLong(value)
            }
        }
        def intSerializer = Stub(Serializer) {
            read(_) >> { Decoder decoder ->
                return decoder.readSmallInt()
            }
            write(_, _) >> { Encoder encoder, Integer value ->
                encoder.writeSmallInt(value)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top