Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1551 - 1560 of 6,264 for used (0.03 sec)

  1. tests/prepared_stmt_test.go

    	defer cancel()
    	txCtx := tx.WithContext(ctx)
    
    	user := *GetUser("prepared_stmt", Config{})
    
    	txCtx.Create(&user)
    
    	var result1 User
    	if err := txCtx.Find(&result1, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            return OptionalEntity.empty();
        }
    
        /**
         * Returns the user entity based on the provided form data, applying any necessary transformations.
         *
         * @param form the form containing user data for retrieval and update
         * @return optional user entity populated from the form
         */
        public static OptionalEntity<User> getUser(final CreateForm form) {
            return getEntity(form).map(entity -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  3. schema/field_test.go

    			Birthday: tests.Now(),
    			Active:   true,
    		}
    		reflectValue = reflect.ValueOf(&user)
    	)
    
    	// test valuer
    	values := map[string]interface{}{
    		"name":       user.Name,
    		"id":         user.ID,
    		"created_at": user.CreatedAt,
    		"updated_at": user.UpdatedAt,
    		"deleted_at": user.DeletedAt,
    		"age":        user.Age,
    		"birthday":   user.Birthday,
    		"active":     true,
    	}
    	checkField(t, userSchema, reflectValue, values)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. tests/associations_has_one_test.go

    )
    
    func TestHasOneAssociation(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "file:////server/user";
            exp = "\\\\server\\user";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "smb://server/user";
            exp = "\\\\server\\user";
            assertEquals(exp, transformer.getSiteOnFile(url, "UTF-8"));
    
            url = "smb1://server/user";
            exp = "\\\\server\\user";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. clause/benchmarks_test.go

    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func BenchmarkSelect(b *testing.B) {
    	user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    
    	for i := 0; i < b.N; i++ {
    		stmt := gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Oct 07 12:14:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         */
        boolean isDebugEnabled();
    
        /**
         * Sends a message to the user in the <b>debug</b> error level.
         *
         * @param content the message to log
         */
        void debug(CharSequence content);
    
        /**
         * Sends a message (and accompanying exception) to the user in the <b>debug</b> error level.
         * The error's stacktrace will be output when this error level is enabled.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. docs/distributed/iam-import-with-missing-entities.sh

    # Verify the list of users and service accounts from the import
    ./mc admin user list myminio
    USER_COUNT=$(./mc admin user list myminio | wc -l)
    if [ "${USER_COUNT}" -ne 2 ]; then
    	echo "BUG: Expected no of users: 2 Found: ${USER_COUNT}"
    	exit 1
    fi
    ./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 11 15:01:29 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. .github/workflows/update-perf-test-buckets.yml

        steps:
          - name: Checkout repository
            uses: actions/checkout@v5
          - name: configure aws credentials
            uses: aws-actions/configure-aws-credentials@v5
            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          - name: get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v2
            with:
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 04:26:32 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top