Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 337 for valueOf (0.32 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
    
      public void testHashCode() {
        for (char value : VALUES) {
          assertThat(Chars.hashCode(value)).isEqualTo(((Character) value).hashCode());
        }
      }
    
      public void testCheckedCast() {
        for (char value : VALUES) {
          assertThat(Chars.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. callbacks.go

    	}
    
    	if optimizer, ok := db.Statement.Dest.(StatementModifier); ok {
    		optimizer.ModifyStatement(stmt)
    	}
    
    	// assign model values
    	if stmt.Model == nil {
    		stmt.Model = stmt.Dest
    	} else if stmt.Dest == nil {
    		stmt.Dest = stmt.Model
    	}
    
    	// parse model values
    	if stmt.Model != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Verify.java

       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
       *     are converted to strings using {@link String#valueOf(Object)}.
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(
          boolean expression,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

            Iterables.transform(
                input,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        List<Integer> actual = newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
        assertEquals(expected, actual);
        assertCanIterateAgain(result);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

             * an array and when a value is potentionally overriden it is added to the array. The single
             * arg option value is retrieved and instead of returning values[values.length-1] it returns
             * values[0] which means that the original value instead of the overridden one is returned
             * (first wins). With properties values are truely overriden since at the end a map is used
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

     * <td>{@literal yyyyMMdd}</td>
     * </tr>
     * <tr>
     * <td>{@link DateFormat#FULL}の区切り文字を除去した形式</td>
     * <td>{@literal yyyyMMdd}</td>
     * </tr>
     * <tr>
     * <td>その他</td>
     * <td>{@link java.sql.Date#valueOf(String) Jdbcエスケープ構文}形式</td>
     * <td>{@literal yyyy-MM-dd}</td>
     * </tr>
     * </table>
     *
     * @author higa
     * @see TimeConversionUtil
     * @see TimestampConversionUtil
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. schema/schema_helper_test.go

    		})
    	}
    }
    
    func checkField(t *testing.T, s *schema.Schema, value reflect.Value, values map[string]interface{}) {
    	for k, v := range values {
    		t.Run("CheckField/"+k, func(t *testing.T) {
    			fv, _ := s.FieldsByDBName[k].ValueOf(context.Background(), value)
    			tests.AssertEqual(t, v, fv)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (int j = i + 1; j <= MAX_BOUND; j++) {
            for (BoundType lowerType : BoundType.values()) {
              for (BoundType upperType : BoundType.values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
         * How many redirects and auth challenges should we attempt? Chrome follows 21 redirects; Firefox,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException ex) {
          assertThat(ex).hasMessageThat().contains(String.valueOf(value));
        }
      }
    
      public void testSaturatedCast() {
        for (long value : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong(UnsignedInts.saturatedCast(value))).isEqualTo(value);
        }
        assertThat(UnsignedInts.saturatedCast(1L << 32)).isEqualTo(GREATEST);
        assertThat(UnsignedInts.saturatedCast(-1L)).isEqualTo(LEAST);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top