Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for nickname (0.2 sec)

  1. tests/query_test.go

    	DB.Save(&user)
    
    	type result struct {
    		Name     string
    		Nickname string
    		Age      uint
    	}
    	var res result
    	DB.Table("users").Where("name = ?", user.Name).MapColumns(map[string]string{"name": "nickname"}).Scan(&res)
    	if res.Nickname != user.Name {
    		t.Errorf("Expected res.Nickname to be %s, but got %s", user.Name, res.Nickname)
    	}
    	if res.Name != "" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    			Name     string `gorm:"size:70;uniqueIndex:idx_us6_all_names"`
    			NickName string `gorm:"size:70;uniqueIndex:idx_us6_all_names"`
    		}
    	)
    	checkField(&UniqueStruct5{}, "name", false, "idx_unique_struct5_name")
    	checkField(&UniqueStruct6{}, "name", false, "idx_unique_struct6_name")
    
    	checkField(&UniqueStruct7{}, "name", false, "")
    	checkField(&UniqueStruct7{}, "nick_name", false, "")
    	checkField(&UniqueStruct7{}, "nick_name", false, "")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtAddressTest.java

            mockName = new Name(mockConfig, "DOMAIN", 0x1C, null); // Domain Controller
            nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.firstCalledName());
    
            mockName = new Name(mockConfig, "DOMAIN", 0x1D, null); // Master Browser
            nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. cmd/shared-lock.go

    	retryInterval: time.Minute,
    })
    
    type sharedLock struct {
    	lockContext chan LockContext
    }
    
    func (ld sharedLock) backgroundRoutine(ctx context.Context, objAPI ObjectLayer, lockName string) {
    	for {
    		locker := objAPI.NewNSLock(minioMetaBucket, lockName)
    		lkctx, err := locker.GetLock(ctx, sharedLockTimeout)
    		if err != nil {
    			continue
    		}
    
    	keepLock:
    		for {
    			select {
    			case <-ctx.Done():
    				return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            mockName.hexCode = 0x20;
            mockName.name = "TEST";
            mockName.scope = "test.scope";
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() throws Exception {
            // Act
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Assert
            assertSame(mockName, nodeStatusRequest.questionName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameQueryRequestTest.java

        private Configuration mockConfig;
        @Mock
        private Name mockName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor correctly initializes questionName and questionType
            NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
    
            assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. docs/debugging/reorder-disks/main.go

    	}
    
    	for loc, expectedDiskName := range expectedDisksName {
    		diskName := actualDisksName[loc]
    		if diskName == "" {
    			log.Printf("skipping disk location `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		mami, err := getMajorMinor(diskName)
    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        return policy == Policies.DISABLED
            ? new ReentrantLock(fair)
            : new CycleDetectingReentrantLock(new LockGraphNode(lockName), fair);
      }
    
      /** Equivalent to {@code newReentrantReadWriteLock(lockName, false)}. */
      public ReentrantReadWriteLock newReentrantReadWriteLock(String lockName) {
        return newReentrantReadWriteLock(lockName, false);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. docs/contribute/code_of_conduct.md

    emailing [******@****.***][codeofconduct_at]. All reports will be handled with
    discretion.
    
    In your report please include:
    
     * Your contact information.
     * Names (real, nicknames, or pseudonyms) of any individuals involved. If there are additional
       witnesses, please include them as well.
     * Your account of what occurred, and if you believe the incident is ongoing. If there is a publicly
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock query address
            mockQueryAddress = mock(NbtAddress.class);
            Name mockName = new Name(mockConfig, "TEST", 0x20, null);
            mockQueryAddress.hostName = mockName;
            // Convert IP address to int representation for NbtAddress
            InetAddress inetAddr = InetAddress.getByName("192.168.1.100");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top