Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 586 for replaceOp (0.12 sec)

  1. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        }
      }
    
      // Returned from removeAt() to iterator.remove()
      static class MoveDesc<E> {
        final E toTrickle;
        final E replaced;
    
        MoveDesc(E toTrickle, E replaced) {
          this.toTrickle = toTrickle;
          this.replaced = replaced;
        }
      }
    
      /** Removes and returns the value at {@code index}. */
      private E removeAndGet(int index) {
        E value = elementData(index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * If {@code (key, expectedOldValue)} is currently in the map, this method replaces {@code
       * expectedOldValue} with {@code newValue} and returns true; otherwise, this method returns false.
       *
       * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)} is
       * currently in the map, or if {@code key} is not in the map at all.
       */
      boolean replace(K key, long expectedOldValue, long newValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

           * as a compromise, we enable the optimization only on platforms that we specifically know to
           * work.
           *
           * In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(),
           * which will have an efficient native implementation in JDK 9.
           *
           */
          String arch = System.getProperty("os.arch");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Request.kt

         */
        open fun url(url: URL) = url(url.toString().toHttpUrl())
    
        /**
         * Sets the header named [name] to [value]. If this request already has any headers
         * with that name, they are all replaced.
         */
        open fun header(
          name: String,
          value: String,
        ) = commonHeader(name, value)
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tests/associations_many2many_test.go

    	languages2_1 := []*Language{
    		{Code: "language-slice-replace-1-1", Name: "language-slice-replace-1-1"},
    		{Code: "language-slice-replace-1-2", Name: "language-slice-replace-1-2"},
    	}
    	languages2_2 := []*Language{
    		{Code: "language-slice-replace-2-1", Name: "language-slice-replace-2-1"},
    		{Code: "language-slice-replace-2-2", Name: "language-slice-replace-2-2"},
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

        try {
          assertTrue(getMap().replace(k0(), v0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresentUnchanged() {
        assertTrue(getMap().replace(k0(), v0(), v0()));
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

      public void testReplaceEntry_supportedPresent() {
        assertTrue(getMap().replace(k0(), v0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresentUnchanged() {
        assertTrue(getMap().replace(k0(), v0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/color.js

    n!1},errorMessage:"",errorMessageKey:"badHex"}),a.formUtils.addValidator({name:"rgb",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c=a.replace(/ /g,""),d=/\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)/i;if(c.match(d)){var e=c.replace(/\(/g,"").replace(/\)/g,""),f=e.split(","),g=!0;return f.forEach(function(a){var b=parseInt(a);(Number.isInteger(b)&&0<=b&&b<=255)===!1&&(g=!1)}),g}return!1},errorMessage:"",errorMessageKey:"badRgb"}),a.formUtils.a...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_cluster_test.cc

      int num_retvals = 0;
      TFE_Execute(op, nullptr, &num_retvals, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteOp(op);
    
      // The device of var_handle1 is remote device, which was replaced during
      // cluster update. Removing resource with invalid device should fail
      // gracefully (i.e., with error status) instead of crashing with segfaults.
      op = TFE_NewOp(ctx, "DestroyResourceOp", 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)
Back to top