Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 803 for ID (0.06 sec)

  1. tests/benchmark_test.go

    )
    
    func BenchmarkCreate(b *testing.B) {
    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    func BenchmarkScan(b *testing.B) {
    	user := *GetUser("scan", Config{})
    	DB.Create(&user)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. tests/upsert_test.go

    	}
    
    	if user1.Name != "find or create" || user1.ID == 0 || user1.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    	DB.Where(&User{Name: "find or create", Age: 33}).FirstOrCreate(&user2)
    	if user1.ID != user2.ID || user2.Name != "find or create" || user2.ID == 0 || user2.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Create a test file ID (16 bytes)
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) (i + 1);
            }
    
            request = new Smb2FlushRequest(mockConfig, testFileId);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct command and file ID")
        void testConstructor() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. tests/update_has_many_test.go

    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	for _, pet := range user.Pets {
    		pet.Name += "new"
    	}
    
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user3 User
    	DB.Preload("Pets").Find(&user3, "id = ?", user.ID)
    	CheckUser(t, user2, user3)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

      - type: input
        id: Python
        attributes:
          label: Python version
          placeholder: e.g., 3.9
      - type: input
        id: Bazel
        attributes:
          label: Bazel version
          description: If compiling from source
      - type: input
        id: Compiler
        attributes:
          label: GCC/compiler version
          description: If compiling from source
      - type: input
        id: Cuda
        attributes:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Jun 28 18:25:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        private final String id;
        private final boolean transitive;
    
        DependencyScope(String id, boolean transitive) {
            this.id = id;
            this.transitive = transitive;
        }
    
        /**
         * The {@code id} uniquely represents a value for this extensible enum.
         * This id should be used to compute the equality and hash code for the instance.
         *
         * @return the id
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: dropdown
        id: author-go-experience
        attributes:
          label: "Go Programming Experience"
          description: "Would you consider yourself a novice, intermediate, or experienced Go programmer?"
          options:
            - "Novice"
            - "Intermediate"
            - "Experienced"
          default: 1
    
      - type: input
        id: author-other-languages-experience
        attributes:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. .teamcity/pom.xml

        </parent>
    
        <repositories>
            <repository>
                <id>jetbrains-all</id>
                <url>https://download.jetbrains.com/teamcity-repository</url>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
            <repository>
                <id>teamcity-server</id>
                <url>https://builds.gradle.org/app/dsl-plugins-repository</url>
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Aug 14 07:58:26 UTC 2025
    - 7.4K bytes
    - Viewed (2)
  9. tests/scan_test.go

    		t.Errorf("Scan into struct map, got %#v", results)
    	}
    
    	type ID uint64
    	var id ID
    	DB.Raw("select id from users where id = ?", user2.ID).Scan(&id)
    	if uint(id) != user2.ID {
    		t.Errorf("Failed to scan to customized data type")
    	}
    
    	var resInt interface{}
    	resInt = &User{}
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Find(&resInt).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. cmd/testdata/decryptObjectInfo.json.zst

    decryptObjectInfo.json.zst [{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/script/mod_init_dep.txt","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"7oyUrB+n4Xb57xJsT/c+d3vF5fW5pWtPEyxNC/oTP80=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAJjZ2dY7iCAom9rP/UK/5mmg/gpSloOs8Xjy5gYKtTDfL==","X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key":"IAAfAN+0R4CsC3ibYvamkvm9KIg+hidIQ==","X-Minio-Internal-Server...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 29 16:34:20 UTC 2020
    - 164K bytes
    - Viewed (0)
Back to top