Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 382 for read1 (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

      // For example, the last read/write with parallel_ids `{group0:branch0}`
      // lives at stack depth 1 and is depended on by ops with parallel_ids
      // of the form `{group0:branch0, ...}`.
      //
      // We track a set of reads/writes rather than a single read/write because
      // multiple parallel ops may be live at any particular point.
      StackResourceToOps stack_down_;
    
      // Hold the last set of reads and writes that will be depended on by
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/testing/testing_test.go

    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		var ready sync.WaitGroup
    		ready.Add(2)
    		done := make(chan struct{})
    		go func() {
    			ready.Wait()
    			doRace() // This race happens while both subtests are running.
    			close(done)
    		}()
    
    		t.Run("sub", func(t *testing.T) {
    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				ready.Done()
    				<-done
    			})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. pkg/kube/inject/testdata/inject/list.yaml.injected

              - containerPort: 15090
                name: http-envoy-prom
                protocol: TCP
              readinessProbe:
                failureThreshold: 4
                httpGet:
                  path: /healthz/ready
                  port: 15021
                periodSeconds: 15
                timeoutSeconds: 3
              resources:
                limits:
                  cpu: "2"
                  memory: 1Gi
                requests:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

    }
    }  // namespace
    
    // Rewrites unpartitioned resource reads and writes to partitioned resource
    // reads and writes. The TPU computation from the frontend is generated in such
    // a way that resource operations operate on the unpartitioned resource handle
    // (from a `tf.TPUReplicatedInput`). This results in resource reads and writes
    // on the unpartitioned resource handle post resource op decomposition/lifting.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    	prefix []byte
    	stale  bool
    	err    error
    	reads  uint64
    }
    
    func NewPrefixTransformer(prefix []byte, stale bool) *PrefixTransformer {
    	return &PrefixTransformer{
    		prefix: prefix,
    		stale:  stale,
    	}
    }
    
    func (p *PrefixTransformer) TransformFromStorage(ctx context.Context, data []byte, dataCtx value.Context) ([]byte, bool, error) {
    	atomic.AddUint64(&p.reads, 1)
    	if dataCtx == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  6. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            output.close()
    
            then:
            def input = streamBuf.getInputStream()
            input.read() == 1
            input.read() == 2
            input.read() == 3
            input.read() == 255
            input.read() == -1
            input.close()
        }
    
        def "can write array and read one-by-one"() {
            given:
            def streamBuf = new StreamByteBuffer(32000)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
     *       and operations that read from the stream (including {@link #length()}, in some
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    		routes = append(routes, b.buildRoute(root, "/{name}/status", "PATCH", "patch", "patch", sample).Reads(patch))
    	}
    	if subresources != nil && subresources.Scale != nil {
    		routes = append(routes, b.buildRoute(root, "/{name}/scale", "GET", "get", "read", scale))
    		routes = append(routes, b.buildRoute(root, "/{name}/scale", "PUT", "put", "replace", scale).Reads(scale))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. src/encoding/json/stream.go

    	"errors"
    	"io"
    )
    
    // A Decoder reads and decodes JSON values from an input stream.
    type Decoder struct {
    	r       io.Reader
    	buf     []byte
    	d       decodeState
    	scanp   int   // start of unread data in buf
    	scanned int64 // amount of data already scanned
    	scan    scanner
    	err     error
    
    	tokenState int
    	tokenStack []int
    }
    
    // NewDecoder returns a new decoder that reads from r.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. src/runtime/race_s390x.s

    	MOVD	$__tsan_read(SB), R1
    	MOVD	addr+0(FP), R3
    	MOVD	R14, R4
    	JMP	racecalladdr<>(SB)
    
    // func runtime·RaceRead(addr uintptr)
    TEXT	runtime·RaceRead(SB), NOSPLIT, $0-8
    	// This needs to be a tail call, because raceread reads caller pc.
    	JMP	runtime·raceread(SB)
    
    // func runtime·racereadpc(void *addr, void *callpc, void *pc)
    TEXT	runtime·racereadpc(SB), NOSPLIT, $0-24
    	// void __tsan_read_pc(ThreadState *thr, void *addr, void *callpc, void *pc);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top