Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,498 for Replace (0.07 sec)

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

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @CheckForNull V oldValue, V newValue) {
        checkNotNull(key);
        checkNotNull(newValue);
        if (oldValue == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).replace(key, hash, oldValue, newValue);
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Request.kt

         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
         * OkHttp may replace [value] with a header derived from the request body.
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = commonAddHeader(name, value)
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) = commonRemoveHeader(name)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. ci/official/utilities/setup_macos.sh

    # target inside "tensorflow/tools/toolchains/cross_compile/cc" so that Bazel
    # can register it as an input to compile/link actions and send it to the remote
    # VMs when needed.
    # TODO(b/316932689): Avoid copying and replace with a local repository rule.
    if [[ "$TFCI_MACOS_CROSS_COMPILE_ENABLE" == 1 ]]; then
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/usr"
      mkdir -p "${TFCI_MACOS_CROSS_COMPILE_SDK_DEST}/System/Library/Frameworks/"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 15 15:23:28 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    childName = child.getProjectDirectory().getFileName().toString();
                }
    
                for (String module : parent.getModules()) {
                    module = module.replace('\\', '/');
    
                    if (module.regionMatches(true, module.length() - 4, ".xml", 0, 4)) {
                        module = module.substring(0, module.lastIndexOf('/') + 1);
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                exportedPackages.addAll(extension.getExportedPackages());
            }
            return exportedPackages;
        }
    
        /**
         * Note: overriding this method should be avoided. Preferred way to replace Maven components is the "normal" way
         * where the components are on index (are annotated with JSR330 annotations and Sisu index is created) and, they
         * have priorities set.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. android/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)
  7. docs/en/docs/tutorial/body-updates.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001.py!}
    ```
    
    ////
    
    `PUT` is used to receive data that should replace the existing data.
    
    ### Warning about replacing
    
    That means that if you want to update the item `bar` using `PUT` with a body containing:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

       * character, then iterates the remainder of the sequence calling {@link #matches(char)} for each
       * character.
       *
       * @param sequence the character sequence to replace matching characters in
       * @param replacement the character to append to the result string in place of each matching
       *     character in {@code sequence}
       * @return the new string
       */
      public String replaceFrom(CharSequence sequence, char replacement) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    			}
    			for _, spec := range d.Specs {
    				if s, ok := spec.(*ast.ImportSpec); ok && s.Path.Value == `"C"` {
    					// Replace "C" with _ "unsafe", to keep program valid.
    					// (Deleting import statement or clause is not safe if it is followed
    					// in the source by an explicit semicolon.)
    					f.Edit.Replace(f.offset(s.Path.Pos()), f.offset(s.Path.End()), `_ "unsafe"`)
    				}
    			}
    		}
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(Strings.repeat("ZZ", s.length()), matcher.replaceFrom(s, "ZZ"));
        assertEquals("", matcher.trimFrom(s));
        assertEquals(s.length(), matcher.countIn(s));
      }
    
      // Kotlin subSequence()/replace() always return new strings, violating expectations of this test
      @J2ktIncompatible
      public void testGeneral() {
        doTestGeneral(is('a'), 'a', 'b');
        doTestGeneral(isNot('a'), 'b', 'a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top