Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for retval (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
        }
    
        public static String substVars(
                String value, String name, Map<String, String> props, Function<String, String> callback) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
            return retVal != null ? retVal : NONE;
        }
    
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashCode.java

              bytes.length);
          return padToLong();
        }
    
        @Override
        public long padToLong() {
          long retVal = (bytes[0] & 0xFF);
          for (int i = 1; i < min(bytes.length, 8); i++) {
            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashCode.java

              bytes.length);
          return padToLong();
        }
    
        @Override
        public long padToLong() {
          long retVal = (bytes[0] & 0xFF);
          for (int i = 1; i < min(bytes.length, 8); i++) {
            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_TensorHandle* retvals[1] = {nullptr};
      int num_retvals = 1;
      TFE_Execute(func, &retvals[0], &num_retvals, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      ASSERT_EQ(1, num_retvals);
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteTensorHandle(retvals[0]);
      float sum = 0;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

                         int* num_retvals, ForwardOperation* forward_op_,
                         Tape* tape, const GradientRegistry& registry) {
      TF_RETURN_IF_ERROR(op_->Execute(retvals, num_retvals));
      for (int i = 0; i < *num_retvals; i++) {
        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_->outputs.push_back(retvals[i]);
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                if (retValue.length() >= 2 && retValue.charAt(1) == '|') {
                    retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                }
    
                // normalize separators
                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      auto* retval_task0 =
          TFE_TensorHandleCopyToDevice(retvals[0], ctx, local_device_name, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	// Make a copy before returning the value
    	retMap := make(map[madmin.HealItemType]int64, len(h.scannedItemsMap))
    	for k, v := range h.scannedItemsMap {
    		retMap[k] = v
    	}
    
    	return retMap
    }
    
    // getHealedItemsMap - returns the map of all healed items against type
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top