Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 2,300 for _values (0.2 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      /**
       * Returns a collection that simulates concurrent modification by having its size method return
       * incorrect values. This is useful for testing methods that must treat the return value from
       * size() as a hint only.
       *
       * @param delta the difference between the true size of the collection and the values returned by
       *     the size method
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

          assertThat(Shorts.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (short value : VALUES) {
          assertThat(Shorts.saturatedCast((long) value)).isEqualTo(value);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. utils/utils.go

    			return true
    		}
    	}
    	return false
    }
    
    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    
    	for idx, value := range values {
    		if valuer, ok := value.(driver.Valuer); ok {
    			value, _ = valuer.Value()
    		}
    
    		switch v := value.(type) {
    		case string:
    			results[idx] = v
    		case []byte:
    			results[idx] = string(v)
    		case uint:
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            entries.add(mapEntry(k, v));
          }
          Iterable<Entry<K, V>> orderedEntries = multimapGenerator.order(entries);
          List<V> values = new ArrayList<>();
          for (Entry<K, V> entry : orderedEntries) {
            values.add(entry.getValue());
          }
          return values;
        }
    
        @Override
        public Collection<V> create(Object... elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToList(values);
      }
    
      @Override
      public final ListMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToSet(values);
      }
    
      @Override
      public final SetMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.values().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testValuesRetainAllNullFromEmpty() {
        try {
          super.testValuesRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.values().retainAll(null) doesn't throws NPE.
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            // 4 (dataCount) + 4 (dataOffset) + 1 (setupCount) + 2 (function)
            assertEquals(38, bytesWritten, "Number of bytes written should be 38 for primary transaction");
    
            // Verify some key values
            assertEquals(smbComNtTransaction.maxSetupCount, dst[0], "maxSetupCount should be written correctly");
            assertEquals(smbComNtTransaction.totalParameterCount, SmbComTransaction.readInt4(dst, 3),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. cmd/authtype_string.go

    // Code generated by "stringer -type=authType -trimprefix=authType auth-handler.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[authTypeUnknown-0]
    	_ = x[authTypeAnonymous-1]
    	_ = x[authTypePresigned-2]
    	_ = x[authTypePresignedV2-3]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/site/apt/index.apt

      interpolation for file-based activation is limited to <<<$\{basedir}>>> (which was introduced in Maven 3 and is not deprecated
      in this context) and <<<$\{rootDirectory}>>> (introduced in Maven 4), system properties and user properties.
    
      Values are evaluated in sequence from different syntaxes:
    
    *----+------+------+
    || value || evaluation result || common examples ||
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 03 08:42:52 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top