Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for readCount (0.21 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

        var count = 0L
        var noNewLineBeforeEOF = false
        var readCount = read(buffer)
    
        while (readCount != -1) {
            for (idx in 0 until readCount) {
                if (buffer[idx] == newLine) count++
            }
            noNewLineBeforeEOF = buffer[readCount - 1] != newLine
            readCount = read(buffer)
        }
        if (noNewLineBeforeEOF) count++
        return count
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashMultiset.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(Maps.<E, Count>newHashMap());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultiset.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(new LinkedHashMap<E, Count>());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayListMultimap.java

      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
        Map<K, Collection<V>> map = CompactHashMap.create();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible // Not needed in emulated source.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
        Map<K, Collection<V>> map = Maps.newHashMap();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible // Not needed in emulated source.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_colocate_composite_resource_ops.mlir

        n = 2 : i32} {
         // CHECK:      %[[RESOURCE_OUT:.*]] = "tf_device.launch"()
         // CHECK-SAME: TPU_REPLICATED_CORE_0
         // CHECK-NEXT:   %[[READ_OUT:.*]] = "tf.ReadVariableOp"(%[[RI_0]])
         // CHECK-NEXT:   tf_device.return %[[READ_OUT]]
         %0 = "tf.ReadVariableOp"(%arg1) : (tensor<*x!tf_type.resource<tensor<4xf32>>>) -> tensor<4xf32>
         %1 = "tf.A"() : () -> (tensor<2x!tf_type.string>)
         "tf_device.launch"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/bundle_v2_test.cc

      RestoreVarsAndVerify(&bundle, {"MyVariable"});
    }
    
    TEST_F(BundleV2Test, UpdatesMetrics) {
      const std::string kCCLoadBundleV2Label = "cc_load_bundle_v2";
      const int read_count = metrics::SavedModelReadCount("2").value();
      const int api_count =
          metrics::SavedModelReadApi(kCCLoadBundleV2Label).value();
      const std::string export_dir = io::JoinPath(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/hwcap_linux.go

    	if err != nil {
    		// e.g. on android /proc/self/auxv is not accessible, so silently
    		// ignore the error and leave Initialized = false. On some
    		// architectures (e.g. arm64) doinit() implements a fallback
    		// readout and will set Initialized = true again.
    		return err
    	}
    	bo := hostByteOrder()
    	for len(buf) >= 2*(uintSize/8) {
    		var tag, val uint
    		switch uintSize {
    		case 32:
    			tag = uint(bo.Uint32(buf[0:]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. samples/ambient-argo/README.md

    ## Playbook: Minor Version Upgrade
    
    COMING SOON
    
    ## Playbook: Major Version Upgrade
    
    COMING SOON
    
    ## Tips and Tricks
    
    For a quick (but messy) readout on what Istio versions are being used in this repo, run:
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top