Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Swap (0.14 sec)

  1. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              swap(array, from, to);
            }
            if (array[from + 1] > array[to]) {
              swap(array, from + 1, to);
            }
            if (array[from] > array[from + 1]) {
              swap(array, from, from + 1);
            }
    
            // Perform a partition with the selected median.
            int low = from + 1, high = to; // Indexes for partitioning.
            double partition = array[from + 1]; // Choose partitioning element.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              swap(array, from, to);
            }
            if (array[from + 1] > array[to]) {
              swap(array, from + 1, to);
            }
            if (array[from] > array[from + 1]) {
              swap(array, from, from + 1);
            }
    
            // Perform a partition with the selected median.
            int low = from + 1, high = to; // Indexes for partitioning.
            double partition = array[from + 1]; // Choose partitioning element.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  3. api/go1.19.txt

    pkg sync/atomic, method (*Bool) Store(bool) #50860
    pkg sync/atomic, method (*Bool) Swap(bool) bool #50860
    pkg sync/atomic, method (*Int32) Add(int32) int32 #50860
    pkg sync/atomic, method (*Int32) CompareAndSwap(int32, int32) bool #50860
    pkg sync/atomic, method (*Int32) Load() int32 #50860
    pkg sync/atomic, method (*Int32) Store(int32) #50860
    pkg sync/atomic, method (*Int32) Swap(int32) int32 #50860
    pkg sync/atomic, method (*Int64) Add(int64) int64 #50860
    Plain Text
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  4. api/go1.15.txt

    pkg debug/pe, const IMAGE_FILE_NET_RUN_FROM_SWAP = 2048
    pkg debug/pe, const IMAGE_FILE_NET_RUN_FROM_SWAP ideal-int
    pkg debug/pe, const IMAGE_FILE_RELOCS_STRIPPED = 1
    pkg debug/pe, const IMAGE_FILE_RELOCS_STRIPPED ideal-int
    pkg debug/pe, const IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP = 1024
    pkg debug/pe, const IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP ideal-int
    pkg debug/pe, const IMAGE_FILE_SYSTEM = 4096
    Plain Text
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Jul 17 02:15:01 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.cc

        if (!v2_reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
          return;
        }
        auto result = BuildV2VarMaps();
        var_to_shape_map_.swap(result.first);
        var_to_data_type_map_.swap(result.second);
      } else {
        reader_.reset(new TensorSliceReader(filename));
        if (!reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, reader_->status());
          return;
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        for (int i = to; i > from; i--) {
          if (array[i] > pivot) {
            swap(array, partitionPoint, i);
            partitionPoint--;
          }
        }
    
        // We now know that all elements with indexes in (from, partitionPoint] are less than or equal
        // to the pivot at from, and all elements with indexes in (partitionPoint, to] are greater than
        // it. We swap the pivot into partitionPoint and we know the array is partitioned around that.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. .gitignore

    .history_rewritten_*
    # Eclipse artifacts
    .project
    .pydevproject
    #Vagrant
    tools/vagrant/.vagrant/
    # Intellij
    *.iml
    .idea/
    .run/
    # Visual Studio Code
    .vscode/
    # Bazel
    /bazel-*
    # vi swap files
    .*.swp
    # vi backups
    *.bak
    # common backups
    *~
    # python artifacts
    *.pyc
    # pilot
    pilot/pkg/kube/config
    pilot/pkg/proxy/envoy/envoy
    # lint
    lintconfig.gen.json
    .istiorc
    .istiorc.mk
    Plain Text
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Jun 14 16:23:45 GMT 2022
    - 1K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
            if (list.size() > 1) {
              int i = (list.size() - 1) / 2;
              Collections.swap(list, i, i + 1);
            }
          }
        },
        RANDOM {
          @Override
          void arrange(List<Integer> list) {}
        };
    
        abstract void arrange(List<Integer> list);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  9. ci/official/envs/enable_pycpp_build

    #
    # Changes the behavior in pycpp.sh from "run all tests" to "verify that all
    # tests can compile." Used in some CI jobs (macOS and Linux Arm64) where test
    # execution is too expensive.
    TFCI_PYCPP_SWAP_TO_BUILD_ENABLE=1
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Fri Feb 02 21:57:40 GMT 2024
    - 976 bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
        }
      }
    
      // A version of the list that uses compare and swap to manage the stack without locks.
      private static final class ExecutionListCAS {
        static final Logger log = Logger.getLogger(ExecutionListCAS.class.getName());
    
        private static final sun.misc.Unsafe UNSAFE;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top