Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for _namepet (0.06 sec)

  1. tests/helper_test.go

    	}
    
    	for i := 0; i < config.Friends; i++ {
    		user.Friends = append(user.Friends, GetUser(name+"_friend_"+strconv.Itoa(i+1), Config{}))
    	}
    
    	if config.NamedPet {
    		user.NamedPet = &Pet{Name: name + "_namepet"}
    	}
    
    	return &user
    }
    
    func CheckPetUnscoped(t *testing.T, pet Pet, expect Pet) {
    	doCheckPet(t, pet, expect, true)
    }
    
    func CheckPet(t *testing.T, pet Pet, expect Pet) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tests/joins_test.go

    		// user pet
    		if users2[idx].NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    		CheckPet(t, *user.NamedPet, *users2[idx].NamedPet)
    		// manager pet
    		if users2[idx].Manager.NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    		CheckPet(t, *user.Manager.NamedPet, *users2[idx].Manager.NamedPet)
    	}
    }
    
    func TestJoinsPreload_Issue7013(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)
  3. utils/tests/models.go

    // His pet also has one Toy (has one - polymorphic)
    // NamedPet is a reference to a named `Pet` (has one)
    type User struct {
    	gorm.Model
    	Name      string
    	Age       uint
    	Birthday  *time.Time
    	Account   Account
    	Pets      []*Pet
    	NamedPet  *Pet
    	Toys      []Toy   `gorm:"polymorphic:Owner"`
    	Tools     []Tools `gorm:"polymorphicType:Type;polymorphicId:CustomID"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                                        nameSet.add(values[values.length - 1]);
                                    }
                                }
                            }
                        }
                    }
                } catch (final Exception e) {
                    logger.warn("Failed to load {}", jarFile.getAbsolutePath(), e);
                }
            }
            return nameSet.stream().sorted().collect(Collectors.toList());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. internal/event/config.go

    		return err
    	}
    
    	// FilterRuleList must have only one prefix and/or suffix.
    	nameSet := set.NewStringSet()
    	for _, rule := range rules.Rules {
    		if nameSet.Contains(rule.Name) {
    			if rule.Name == "prefix" {
    				return &ErrFilterNamePrefix{}
    			}
    
    			return &ErrFilterNameSuffix{}
    		}
    
    		nameSet.Add(rule.Name)
    	}
    
    	*ruleList = FilterRuleList(rules)
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                platform_id = (int)_src.dec_ndr_long();
                int _namep = _src.dec_ndr_long();
    
                if (_namep != 0) {
                    _src = _src.deferred;
                    name = _src.dec_ndr_string();
    
                }
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.platform_id = _src.dec_ndr_long();
                int _namep = _src.dec_ndr_long();
    
                if ( _namep != 0 ) {
                    _src = _src.deferred;
                    this.name = _src.dec_ndr_string();
    
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
Back to top