Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 2,711 for _value (0.04 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          BloomFilter<String> bf = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
          for (int j = 0; j < 10; j++) {
            String value = new Object().toString();
            boolean mightContain = bf.mightContain(value);
            boolean put = bf.put(value);
            assertTrue(mightContain != put);
          }
        }
      }
    
      public void testPutAll() {
        int element1 = 1;
        int element2 = 2;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
                  "Return value of " + method + " not forwarded", returnValue, actualReturnValue);
            }
          } catch (IllegalAccessException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. logger/sql_test.go

    	"github.com/jinzhu/now"
    	"gorm.io/gorm/logger"
    )
    
    type JSON json.RawMessage
    
    func (j JSON) Value() (driver.Value, error) {
    	if len(j) == 0 {
    		return nil, nil
    	}
    	return json.RawMessage(j).MarshalJSON()
    }
    
    type ExampleStruct struct {
    	Name string
    	Val  string
    }
    
    func (s ExampleStruct) Value() (driver.Value, error) {
    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        for (Entry<Object, Object> entry : result.entrySet()) {
          Object key = entry.getKey();
          Object value = entry.getValue();
          assertThat(result.get(key)).isSameInstanceAs(value);
          assertThat(result.get(value)).isNull();
          assertThat(cache.asMap().get(key)).isSameInstanceAs(value);
          assertThat(cache.asMap().get(value)).isSameInstanceAs(key);
        }
      }
    
      public void testBulkLoad_clobber() throws ExecutionException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * Returns the element at the specified position in an iterable or a default value otherwise.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.skip(position).findFirst().orElse(defaultValue)} (returns the default value if the index
       * is out of bounds)
       *
       * @param position position of the element to return
       * @param defaultValue the default value to return if {@code position} is greater than or equal to
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/profile/index.jsp

    							class="btn btn-success"
    							value="<la:message key="labels.profile.update"/>">
    							<i class="fa fa-pencil-alt" aria-hidden="true"></i>
    							<la:message key="labels.profile.update" />
    						</button>
    					</div>
    				</la:form>
    			</div>
    		</div>
    	</div>
    	<input type="hidden" id="contextPath" value="${contextPath}" />
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllRejectsNullValue() {
        Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), null));
        assertThrows(NullPointerException.class, () -> multimap().putAll(source));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllRejectsNullValue() {
        Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), null));
        assertThrows(NullPointerException.class, () -> multimap().putAll(source));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/ForwardingCache.java

      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
        return delegate().getAllPresent(keys);
      }
    
      /**
       * @since 11.0
       */
      @Override
      public void put(K key, V value) {
        delegate().put(key, value);
      }
    
      /**
       * @since 12.0
       */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        delegate().putAll(m);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Streams.java

       */
      public static <T> java.util.Optional<T> findLast(Stream<T> stream) {
        final class OptionalState {
          boolean set = false;
          @Nullable T value = null;
    
          void set(T value) {
            this.set = true;
            this.value = value;
          }
    
          T get() {
            /*
             * requireNonNull is safe because we call get() only if we've previously called set().
             *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
Back to top