Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 2,827 for int3 (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
            return max(0, data.size() + delta);
          }
    
          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Set<Integer> subset : powerSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

       *
       * @return the sum
       */
      @Override
      public long longValue() {
        return sum();
      }
    
      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. cmd/utils.go

    	Extension() string
    }
    
    // Global profiler to be used by service go-routine.
    var (
    	globalProfiler   map[string]minioProfiler
    	globalProfilerMu sync.Mutex
    )
    
    // dump the request into a string in JSON format.
    func dumpRequest(r *http.Request) string {
    	header := r.Header.Clone()
    	header.Set("Host", r.Host)
    	// Replace all '%' to '%%' so that printer format parser
    	// to ignore URL encoded values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

     */
    @Deprecated(since = "4.0.0")
    public class DefaultModelProblem implements ModelProblem {
    
        private final String source;
    
        private final int lineNumber;
    
        private final int columnNumber;
    
        private final String modelId;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

    void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output,
                                               int num_shapes_and_types,
                                               const int64_t** shapes,
                                               const int* ranks,
                                               const TF_DataType* types,
                                               TF_Status* status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                }
            }
        }
    
        private int ordinalOfCksumPolicy(String policy) {
            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(policy)) {
                return 2;
            } else if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(policy)) {
                return 0;
            } else {
                return 1;
            }
        }
    
        private int ordinalOfUpdatePolicy(String policy) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_tensor_handle.h

    // is needed a static_cast can be applied.
    class ImmediateExecutionTensorHandle : public AbstractTensorHandle {
     public:
      // Returns number of dimensions.
      virtual absl::Status NumDims(int* num_dims) const = 0;
      // Returns number of elements across all dimensions.
      virtual absl::Status NumElements(int64_t* num_elements) const = 0;
      // Returns size of specified dimension
      //
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/UuidUtil.java

         * UUIDを作成します。
         *
         * @return UUIDの文字列
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
            public String getNotify() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top