Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 223 for Raw (0.01 seconds)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     * <p>
     * Model transformers allow plugins and extensions to modify the POM model during the build process.
     * Transformations can be applied at three different stages:
     * <ol>
     *   <li>File model - The raw model as read directly from the file</li>
     *   <li>Raw model - The model after inheritance has been applied</li>
     *   <li>Effective model - The fully processed model with all interpolation and inheritance applied</li>
     * </ol>
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. tests/sql_builder_test.go

    	type result struct {
    		Name  string
    		Email string
    	}
    
    	var results []result
    	DB.Raw("SELECT name, age FROM users WHERE name = ? or name = ?", user2.Name, user3.Name).Scan(&results)
    	if len(results) != 2 || results[0].Name != user2.Name || results[1].Name != user3.Name {
    		t.Errorf("Raw with scan")
    	}
    
    	rows, _ := DB.Raw("select name, age from users where name = ?", user3.Name).Rows()
    	count := 0
    	for rows.Next() {
    		count++
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. tests/benchmark_test.go

    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users where id = ?", user.ID).Scan(&u)
    	}
    }
    
    func BenchmarkScanSlice(b *testing.B) {
    	DB.Exec("delete from users")
    	for i := 0; i < 10_000; i++ {
    		user := *GetUser(fmt.Sprintf("scan-%d", i), Config{})
    		DB.Create(&user)
    	}
    
    	var u []User
    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users").Scan(&u)
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 01 03:50:57 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  4. internal/hash/checksum.go

    	length := typ.RawByteLen()
    	if length == 0 || len(b) < length {
    		return nil
    	}
    
    	// Read raw checksum bytes
    	raw := make([]byte, length)
    	copy(raw, b[:length])
    	b = b[length:]
    
    	c := &Checksum{
    		Type:    typ,
    		Raw:     raw,
    		Encoded: base64.StdEncoding.EncodeToString(raw),
    	}
    
    	// Handle multipart checksums
    	if typ.Is(ChecksumMultipart) {
    		parts, n := binary.Uvarint(b)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            Hashing.hmacSha1(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(SHA256_KEY).toString());
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])",
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 13.8K bytes
    - Click Count (0)
  6. tests/named_argument_test.go

    	var result5 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE (name1 = @name AND name3 = @name) AND name2 = @name2", map[string]interface{}{"name": "jinzhu-new", "name2": "jinzhu-new2"}).Find(&result5).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result5, namedUser)
    
    	var result6 NamedUser
    	if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

         */
        T fromCache(T data);
    
        /**
         * The tag used to denote raw model data.
         */
        ModelCacheTag<ModelData> RAW = new ModelCacheTag<ModelData>() {
    
            @Override
            public String getName() {
                return "raw";
            }
    
            @Override
            public Class<ModelData> getType() {
                return ModelData.class;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

            this.model = model;
        }
    
        /**
         * Gets the raw model being wrapped.
         *
         * @return The raw model or {@code null} if not set.
         */
        public Model getRawModel() {
            return rawModel;
        }
    
        /**
         * Sets the raw model being wrapped.
         *
         * @param rawModel The raw model, may be {@code null}.
         */
        public void setRawModel(Model rawModel) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. docs/multi-tenancy/README.md

    ```sh
    minio server --address :9001 /data/tenant1
    minio server --address :9002 /data/tenant2
    minio server --address :9003 /data/tenant3
    ```
    
    ![Example-1](https://github.com/minio/minio/blob/master/docs/screenshots/Example-1.jpg?raw=true)
    
    ### 1.2 Host Multiple Tenants on Multiple Drives (Erasure Code)
    
    Use the following commands to host 3 tenants on multiple drives:
    
    ```sh
    minio server --address :9001 /disk{1...4}/data/tenant1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. statement.go

    				write(v.Raw, stmt.Table)
    			}
    		} else {
    			write(v.Raw, v.Name)
    		}
    
    		if v.Alias != "" {
    			writer.WriteByte(' ')
    			write(v.Raw, v.Alias)
    		}
    	case clause.Column:
    		if v.Table != "" {
    			if v.Table == clause.CurrentTable {
    				write(v.Raw, stmt.Table)
    			} else {
    				write(v.Raw, v.Table)
    			}
    			writer.WriteByte('.')
    		}
    
    		if v.Name == clause.PrimaryKey {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top