Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 975 for writeMsg (0.29 sec)

  1. pkg/kubelet/kubeletconfig/util/files/files_test.go

    	cases := []test{
    		{
    			desc:    "regular file",
    			writes:  []file{{name: "foo", data: "bar"}},
    			expects: []file{{name: "foo", data: "bar"}},
    		},
    		{
    			desc:    "directory",
    			writes:  []file{{name: "foo", mode: os.ModeDir}},
    			expects: []file{{name: "foo", mode: os.ModeDir}},
    		},
    		{
    			desc:    "deep regular file",
    			writes:  []file{{name: "foo/bar", data: "baz"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  2. src/runtime/coverage/coverage.go

    	"io"
    )
    
    // initHook is invoked from main.init in programs built with -cover.
    // The call is emitted by the compiler.
    func initHook(istest bool) {
    	cfile.InitHook(istest)
    }
    
    // WriteMetaDir writes a coverage meta-data file for the currently
    // running program to the directory specified in 'dir'. An error will
    // be returned if the operation can't be completed successfully (for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_init_toolchain.txt

    ! grep toolchain go.work
    
    # work init with newer modules should bump go,
    # including updating to a newer toolchain as needed.
    # Because work init writes the current toolchain as the go version,
    # it writes the bumped go version, not the max of the used modules.
    env TESTGO_VERSION=go1.21
    env TESTGO_VERSION_SWITCH=switch
    rm go.work
    env GOTOOLCHAIN=local
    ! go work init ./m1_22_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/profbuf.go

    //
    // If the writer gets ahead of the reader, so that the buffer fills,
    // future writes are discarded and replaced in the output stream by an
    // overflow entry, which has size 2+hdrsize+1, time set to the time of
    // the first discarded write, a header of all zeroed words, and a "stack"
    // containing one word, the number of discarded writes.
    //
    // Between the time the buffer fills and the buffer becomes empty enough
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/lif/binary.go

    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (binaryLittleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func (binaryLittleEndian) Uint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-toolchain-model/src/site/apt/index.apt

     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, <<<ToAPiV3()>>> and <<<ToApiV4()>>> transformers, and <<<v4>>> package
         for Merger and v4 Reader and Writers for the Xpp3 XML parser,
    
       * A {{{./toolchains.html}Descriptor Reference}}
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 21:08:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	assert.ChannelIsEmpty(t, writes)
    
    	// Somehow the annotation is set to an older version - it should be added back
    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(1)}
    	gws.Update(defaultGateway)
    	expectReconciled()
    	assert.Equal(t, assert.ChannelHasItem(t, writes), buildPatch(ControllerVersion))
    	assert.ChannelIsEmpty(t, writes)
    	// Test fake doesn't actual do Apply, so manually do this
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    				time.Sleep(time.Duration(readRng.Intn(maxSleep)))
    			}
    		}
    	}()
    
    	// Writer
    	{
    		buf := make([]byte, 1024)
    		writeRng := rand.New(rand.NewSource(2))
    		for i := 0; i < 2500; i++ {
    			writeRng.Read(buf)
    			// Write
    			n, err := rb.Write(buf[:writeRng.Intn(len(buf))])
    			if err != nil {
    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes += n
    			wrote.Write(buf[:n])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/resource_operation_safety_analysis.h

    // An XLA cluster hoists all resource reads to be beginning of the cluster
    // execution and all the resource writes to the end.  This means it cannot
    // enforce arbitrary ordering dependencies (via control or data edges) between
    // resource operations.  Since all resource reads happen before all resource
    // writes, edges constraining resource writes to happen before resource reads
    // are problematic.  This analysis returns the set of pairs of resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. cmd/local-locker_gen.go

    		case "Total":
    			z.Total, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Writes":
    			z.Writes, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Writes")
    				return
    			}
    		case "Reads":
    			z.Reads, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Reads")
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top