Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,369 for Put (0.04 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertEqualInOrder() {
        List<?> list = asList("a", "b", "c");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        // Test default state of not started.
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertEqualInOrder() {
        List<?> list = asList("a", "b", "c");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                        Properties env = OperatingSystemUtils.getSystemEnvVars();
                                        env.stringPropertyNames()
                                                .forEach(k -> properties.put("env." + k, env.getProperty(k)));
                                        return properties;
                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return Map.of();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingTrailerV4(r *http.Request) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return typePreservingCollection(delegate().get(key), mutex);
          }
        }
    
        @Override
        public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
          synchronized (mutex) {
            return delegate().put(key, value);
          }
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return typePreservingCollection(delegate().get(key), mutex);
          }
        }
    
        @Override
        public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
          synchronized (mutex) {
            return delegate().put(key, value);
          }
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayMap.java

         */
        public Map.Entry<K, V> getEntryAt(final int index) {
            assertIndex(index < size, "Index:" + index + ", Size:" + size);
            return listTable[index];
        }
    
        @Override
        public V put(final K key, final V value) {
            int hashCode = 0;
            int index = 0;
    
            if (key != null) {
                hashCode = key.hashCode();
                index = (hashCode & 0x7FFFFFFF) % mapTable.length;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/Handler.java

                    throw new IOException(
                            "Unable to find default handler for protocol: " +
                                    protocol);
                }
                PROTOCOL_HANDLERS.put(protocol, handler);
                return handler;
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/Handler.java

                    }
                }
                if ( handler == null ) {
                    throw new IOException("Unable to find default handler for protocol: " + protocol);
                }
                PROTOCOL_HANDLERS.put(protocol, handler);
                return handler;
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
Back to top