Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 4,619 for _new (0.02 sec)

  1. docs/en/docs/advanced/additional-responses.md

        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Here, `new_dict` will contain all the key-value pairs from `old_dict` plus the new key-value pair:
    
    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

      }
    
      public void testComputeIfPresentRemove() {
        List<RemovalNotification<Integer, Integer>> notifications = new ArrayList<>();
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .removalListener(
                    new RemovalListener<Integer, Integer>() {
                      @Override
                      public void onRemoval(RemovalNotification<Integer, Integer> notification) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                s = file.getAbsolutePath();
            } else {
                // an ordinary relative path, align with project directory
                s = new File(new File(basedir, s).toURI().normalize()).getAbsolutePath();
            }
    
            return s;
        }
    
        private String stripBasedirToken(String s) {
            if (s != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
      transient volatile Cell @Nullable [] cells;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

            final byte[] challengeBytes = getChallenge();
            System.arraycopy(challengeBytes != null ? challengeBytes : new byte[8], 0, type2, pos, 8);
            pos += 8;
    
            // Reserved
            final byte[] contextBytes = getContext();
            System.arraycopy(contextBytes != null ? contextBytes : new byte[8], 0, type2, pos, 8);
            pos += 8;
    
            // TargetInfoFields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        private Object readResolve() {
          return new RegularContiguousSet<>(range, domain);
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/Dispatcher.java

        @SuppressWarnings("ThreadLocalUsage") // Each Dispatcher needs its own state.
        private final ThreadLocal<Queue<Event>> queue =
            new ThreadLocal<Queue<Event>>() {
              @Override
              protected Queue<Event> initialValue() {
                return new ArrayDeque<>();
              }
            };
    
        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

            StringBuilder sb1 = new StringBuilder("first");
            StringBuilder sb2 = new StringBuilder("second");
            String result = StringUtil.join(",", sb1, sb2);
            assertEquals("first,second", result);
        }
    
        @Test
        @DisplayName("Should handle StringBuffer as CharSequence")
        void testJoinWithStringBuffer() {
            StringBuffer sb1 = new StringBuffer("alpha");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        public Entry<K, Collection<V>>[] createArray(int length) {
          return (Entry<K, Collection<V>>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<K, Collection<V>>> order(List<Entry<K, Collection<V>>> insertionOrder) {
          Map<K, Collection<V>> map = new HashMap<>();
          List<Entry<K, V>> builder = new ArrayList<>();
          for (Entry<K, Collection<V>> entry : insertionOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

            return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null);
          } else if (collection instanceof SortedSet) {
            return new WrappedSortedSet(key, (SortedSet<V>) collection, null);
          } else if (collection instanceof Set) {
            return new WrappedSet(key, (Set<V>) collection);
          } else {
            return new WrappedCollection(key, collection, null);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
Back to top