Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 923 for read1 (0.06 sec)

  1. src/net/http/responsecontroller_test.go

    		if err == nil {
    			t.Errorf("after resetting read deadline: Read = %q, nil, want error", string(b))
    		}
    	}))
    
    	pr, pw := io.Pipe()
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		defer pw.Close()
    		pw.Write([]byte("one"))
    		select {
    		case <-readc:
    		case <-donec:
    			select {
    			case <-readc:
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Decoder.java

        /**
         * Reads a nullable string value. Can reads any value that was written using {@link Encoder#writeNullableString(CharSequence)}.
         *
         * @throws EOFException when the end of the byte stream is reached before the string can be fully read.
         */
        @Nullable
        String readNullableString() throws EOFException, IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc

      for (Operation& op : replicate.getBody().front()) {
        if (auto read = llvm::dyn_cast<ReadVariableOp>(&op)) {
          bool is_cpu_read;
          if (failed(IsCpuRead(func, read, is_cpu_read))) return failure();
          if (is_cpu_read) reads.push_back(read);
        }
      }
      return success();
    }
    
    // Move reads above the `replicate`. Skip reads that come after a write to the
    // same resource.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. internal/ringbuffer/README.md

    Regular Reads will block until data is available, but not wait for a full buffer. 
    Writes will block until there is space available and writes bigger than the buffer will wait for reads to make space.
    
    `TryRead` and `TryWrite` are still available for non-blocking reads and writes.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy

        @Override
        Class<? extends AbstractEncoder> getEncoder() {
            return super.getEncoder()
        }
    
        def "reads and writes empty snapshots"() {
            when:
            def out = serialize(EMPTY, serializer)
    
            then:
            out == EMPTY
        }
    
        def "reads and writes file snapshots"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready_test.go

    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	// stop sets ready to false
    	ready.stop()
    	if ready.check() {
    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	// can not set to true if is stopped
    	ready.set(true)
    	if ready.check() {
    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	err := ready.wait(context.Background())
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. cluster/gce/upgrade.sh

      done
    
      # Wait for the node to have Ready=True.
      echo "== Waiting for ${instance} to become ready. ==" >&2
      while true; do
        local ready
        ready=$("${KUBE_ROOT}/cluster/kubectl.sh" get node "${instance}" --output='jsonpath={.status.conditions[?(@.type == "Ready")].status}')
        if [[ "${ready}" != 'True' ]]; then
          echo "Node ${instance} is still not ready: Ready=${ready}"
        else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. internal/ioutil/read_file.go

    	_, err = io.ReadFull(f, dst)
    	return dst, st, err
    }
    
    // ReadFile reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // passes NOATIME flag for reads on Unix systems to avoid atime updates.
    func ReadFile(name string) ([]byte, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. pkg/channels/unbounded_test.go

    			r := <-ch
    			reads = append(reads, r)
    			ub.Load()
    		}
    	}()
    
    	wg.Add(numWriters)
    	for i := 0; i < numWriters; i++ {
    		go func(index int) {
    			defer wg.Done()
    			for j := 0; j < numWrites; j++ {
    				ub.Put(index)
    			}
    		}(i)
    	}
    
    	wg.Wait()
    	sort.Ints(reads)
    	if !reflect.DeepEqual(reads, wantReads) {
    		t.Errorf("reads: %#v, wantReads: %#v", reads, wantReads)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (0 > b1) {
          throw new EOFException();
        }
    
        return b1;
      }
    
      /**
       * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()},
       * except using little-endian byte order.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top