Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,533 for VALUES (0.06 sec)

  1. tests/test_filter_pydantic_sub_model/app_pv1.py

    class ModelC(ModelB):
        password: str
    
    
    class ModelA(BaseModel):
        name: str
        description: Optional[str] = None
        model_b: ModelB
    
        @validator("name")
        def lower_username(cls, name: str, values):
            if not name.endswith("A"):
                raise ValueError("name must end in A")
            return name
    
    
    async def get_model_c() -> ModelC:
        return ModelC(username="test-user", password="test-password")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 784 bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        assertTrue(cache.asMap().values().contains(22));
        assertTrue(cache.asMap().values().contains(10));
        assertFalse(cache.asMap().values().contains(20));
      }
    
      public void testAsMapKeySet() {
        Cache<Integer, Integer> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. tests/table_test.go

    	if DB.Dialector.Name() != "sqlite" {
    		if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	} else {
    		if !regexp.MustCompile(`INSERT INTO .user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. internal/s3select/sql/value_test.go

    			panic(err)
    		}
    		return FromTimestamp(t)
    	},
    	func() *Value {
    		return FromString("string contents")
    	},
    }
    
    // altValueBuilders contains one constructor for each value type.
    // Values are zero values and should NOT match the values in valueBuilders, except Null type.
    var altValueBuilders = []func() *Value{
    	FromNull,
    	func() *Value {
    		return FromBool(false)
    	},
    	func() *Value {
    		return FromBytes(nil)
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     Executor)} in order to ensure that resources do not leak. Or, to start a pipeline with a
       *     {@link ListenableFuture} that doesn't create values that should be closed, use {@link
       *     ClosingFuture#from}.
       */
      @Deprecated
      public static <C extends @Nullable Object & @Nullable AutoCloseable>
          ClosingFuture<C> eventuallyClosing(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  6. tests/scanner_valuer_test.go

    	}).Statement
    
    	if stmt.SQL.String() == "" || len(stmt.Vars) != 2 {
    		t.Errorf("Failed to generate sql, got %v", stmt.SQL.String())
    	}
    
    	if !regexp.MustCompile(`INSERT INTO .user_with_points. \(.name.,.point.\) VALUES \(.+,ST_PointFromText\(.+\)\)`).MatchString(stmt.SQL.String()) {
    		t.Errorf("insert with sql.Expr, but got %v", stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

    import java.math.BigInteger;
    import javax.annotation.CheckForNull;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInteger.java

    import java.math.BigInteger;
    import javax.annotation.CheckForNull;
    
    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

      private static final long[] ARRAY234 = {(long) 2, (long) 3, (long) 4};
    
      private static final long[] VALUES = {MIN_VALUE, (long) -1, (long) 0, (long) 1, MAX_VALUE};
    
      @GwtIncompatible // Long.hashCode returns different values in GWT.
      public void testHashCode() {
        for (long value : VALUES) {
          assertWithMessage("hashCode for " + value)
              .that(Longs.hashCode(value))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

        @Nonnull
        Optional<List<String>> goals();
    
        /**
         * Returns a new instance of {@link MavenOptions} with values interpolated using the given properties.
         *
         * @param properties a collection of property maps to use for interpolation
         * @return a new MavenOptions instance with interpolated values
         */
        @Nonnull
        MavenOptions interpolate(@Nonnull Collection<Map<String, String>> properties);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top