Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for UserID (0.04 sec)

  1. schema/schema_test.go

    			}},
    			References: []Reference{{"ID", "User", "UserID", "UserSpeak", "", true}, {"Code", "Language", "LanguageCode", "UserSpeak", "", false}},
    		},
    		{
    			Name: "Friends", Type: schema.Many2Many, Schema: "User", FieldSchema: "User",
    			JoinTable: JoinTable{Name: "user_friends", Table: "user_friends", Fields: []schema.Field{
    				{
    					Name: "UserID", DBName: "user_id", BindNames: []string{"UserID"}, DataType: schema.Uint,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("Abc", StringUtil.capitalize("abc"));
            assertEquals("Abc", StringUtil.capitalize("Abc"));
            assertEquals("ABC", StringUtil.capitalize("ABC"));
            assertEquals("UserId", StringUtil.capitalize("userId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testDecapitalize() throws Exception {
            assertEquals("abc", StringUtil.decapitalize("abc"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

                }
    
                // Compute User IDs with Domain ID to get User SIDs
                // First extra is user if userId is empty
                if ( !userId.isEmpty() && !userId.isBlank() ) {
                    this.userSid = new SID(domainId, userId);
                }
                else if ( this.extraSids.length > 0 ) {
                    this.userSid = this.extraSids[ 0 ];
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    }
    
    // LookupUser lookup userid for the provider
    func (r Config) LookupUser(roleArn, userid string) (provider.User, error) {
    	// Can safely ignore error here as empty or invalid ARNs will not be
    	// mapped.
    	arnVal, _ := arn.Parse(roleArn)
    	pCfg, ok := r.arnProviderCfgsMap[arnVal]
    	if ok {
    		user, err := pCfg.provider.LookupUser(userid)
    		if err != nil && err != provider.ErrAccessTokenExpired {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Name   string
    		UserID uint
    	}
    
    	type User struct {
    		gorm.Model
    		Refer   string
    		Profile Profile `gorm:"ForeignKey:UserID;References:Refer"`
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Profile", Type: schema.HasOne, Schema: "User", FieldSchema: "Profile",
    		References: []Reference{{"Refer", "User", "UserID", "Profile", "", true}},
    	})
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tests/joins_test.go

    		Joins("LEFT OUTER JOIN pets ON pets.user_id = users.id").Find(&results)
    
    	if len(results) == 0 {
    		t.Fatalf("no record find")
    	} else if results[0].Pet.UserID == nil || *(results[0].Pet.UserID) != user.ID {
    		t.Fatalf("wrong user id in pet")
    	} else if results[0].Pet.Name != user.Pets[0].Name {
    		t.Fatalf("wrong pet name")
    	}
    }
    
    func TestJoinArgsWithDB(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * JavaBeansの仕様にしたがってデキャピタライズを行ないます。大文字が2つ以上続く場合は、小文字にならないので注意してください。
         * <p>
         * 次のように使います.
         * </p>
         *
         * <pre>
         * StringUtil.capitalize("UserId")  = "userId"
         * StringUtil.capitalize("ABC")  = "ABC"
         * </pre>
         *
         * @param name
         *            名前
         * @return 結果の文字列
         */
        public static String decapitalize(final String name) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. tests/scanner_valuer_test.go

    	Allergen         NullString
    	Password         EncryptedData
    	Bytes            []byte
    	Num              Num
    	Strings          StringsSlice
    	Structs          StructsSlice
    	Role             Role
    	UserID           *sql.NullInt64
    	User             User
    	EmptyTime        EmptyTime
    	ExampleStruct    ExampleStruct
    	ExampleStructPtr *ExampleStruct
    }
    
    type EncryptedData []byte
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. tests/create_test.go

    }
    
    func TestCreateWithNoGORMPrimaryKey(t *testing.T) {
    	type JoinTable struct {
    		UserID   uint
    		FriendID uint
    	}
    
    	DB.Migrator().DropTable(&JoinTable{})
    	if err := DB.AutoMigrate(&JoinTable{}); err != nil {
    		t.Errorf("no error should happen when auto migrate, but got %v", err)
    	}
    
    	jt := JoinTable{UserID: 1, FriendID: 2}
    	err := DB.Create(&jt).Error
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

    /**
     * An immutable builder for {@link Multimap} instances, letting you independently select the desired
     * behaviors (for example, ordering) of the backing map and value-collections. Example:
     *
     * <pre>{@code
     * ListMultimap<UserId, ErrorResponse> errorsByUser =
     *     MultimapBuilder.linkedHashKeys().arrayListValues().build();
     * SortedSetMultimap<String, Method> methodsForName =
     *     MultimapBuilder.treeKeys().treeSetValues(this::compareMethods).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top