Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,106 for writes (0.16 sec)

  1. tensorflow/compiler/mlir/lite/utils/validators.cc

    namespace mlir {
    namespace TFL {
    
    // Returns true if the given `op`
    //   * has an attribute with the given `name`,
    //   * and the attribute is an integer list of the form [1, X, Y, 1],
    // and writes X, Y as 32-bit integer attribute to `x`, `y`.
    bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x,
                         IntegerAttr *y) {
      auto attr = op->getAttrOfType<ArrayAttr>(name);
      if (!attr) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package relnote
    
    import (
    	"fmt"
    	"strings"
    
    	md "rsc.io/markdown"
    )
    
    // DumpMarkdown writes the internal structure of a markdown
    // document to standard output.
    // It is intended for debugging.
    func DumpMarkdown(d *md.Document) {
    	dumpBlocks(d.Blocks, 0)
    }
    
    func dumpBlocks(bs []md.Block, depth int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/Signatory.java

         */
        @Internal
        String getName();
    
        /**
         * Exhausts {@code toSign}, and writes the signature to {@code signatureDestination}. The caller is responsible for closing the streams, though the output WILL be flushed.
         *
         * @param toSign The source of the data to be signed
         * @param destination Where the signature will be written to
         */
        void sign(InputStream toSign, OutputStream destination);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/protomem.go

    // license that can be found in the LICENSE file.
    
    package pprof
    
    import (
    	"internal/profilerecord"
    	"io"
    	"math"
    	"runtime"
    	"strings"
    )
    
    // writeHeapProto writes the current heap profile in protobuf format to w.
    func writeHeapProto(w io.Writer, p []profilerecord.MemProfileRecord, rate int64, defaultSampleType string) error {
    	b := newProfileBuilder(w)
    	b.pbValueType(tagProfile_PeriodType, "space", "bytes")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/BufferingStyledTextOutput.java

    /**
     * A {@link StyledTextOutput} which buffers the content written to it, for later forwarding to another {@link StyledTextOutput} instance.
     */
    public class BufferingStyledTextOutput extends AbstractStyledTextOutput {
        private final List<Action<StyledTextOutput>> events = new ArrayList<Action<StyledTextOutput>>();
        private boolean hasContent;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/routine_test.go

    	defer ts.Close()
    	_, err := http.Get(ts.URL)
    	if err == nil {
    		t.Error("expected to receive an error")
    	}
    
    	klog.Flush()
    	klog.SetOutput(&bytes.Buffer{}) // prevent further writes into buf
    	capturedOutput := buf.String()
    
    	if !strings.Contains(capturedOutput, panicMsg) || !strings.Contains(capturedOutput, "apiserver panic'd") {
    		t.Errorf("unexpected out captured actual = %v", capturedOutput)
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

    }
    """
            lockfileFixture.createLockfile('unlockedConf', ['org:foo:1.0'])
    
            when:
            succeeds 'dependencies', '--write-locks'
    
            then:
            lockfileFixture.verifyLockfile('lockedConf', ['org:foo:1.0'])
        }
    
        def 'writes dependency lock file when requested'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'bar', '1.0').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/net/http/header.go

    // [CanonicalHeaderKey].
    func (h Header) Del(key string) {
    	textproto.MIMEHeader(h).Del(key)
    }
    
    // Write writes a header in wire format.
    func (h Header) Write(w io.Writer) error {
    	return h.write(w, nil)
    }
    
    func (h Header) write(w io.Writer, trace *httptrace.ClientTrace) error {
    	return h.writeSubset(w, nil, trace)
    }
    
    // Clone returns a copy of h or nil if h is nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. internal/grid/benchmark_test.go

    	}
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    	// Wait for all to connect
    	// Parallel writes per server.
    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/deadstore.go

    		// A "shadowed address" is a pointer, offset, and size describing a memory region that
    		// is known to be written. We keep track of shadowed addresses in the shadowed map,
    		// mapping the ID of the address to a shadowRange where future writes will happen.
    		// Since we're walking backwards, writes to a shadowed region are useless,
    		// as they will be immediately overwritten.
    		shadowed.clear()
    		v := last
    
    	walkloop:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top