Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,464 for name1 (0.03 sec)

  1. clause/expression_test.go

    	}, {
    		SQL:          "name1 = @name1 AND name2 = @name2 AND name3 = @name1",
    		Vars:         []interface{}{sql.Named("name1", "jinzhu"), sql.Named("name2", "jinzhu2")},
    		Result:       "name1 = ? AND name2 = ? AND name3 = ?",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"},
    	}, {
    		SQL:          "name1 = @name1 AND name2 = @name2 AND name3 = @name1",
    		Vars:         []interface{}{map[string]interface{}{"name1": "jinzhu", "name2": "jinzhu2"}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. tests/named_argument_test.go

    	DB.Where("name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2")).First(&result2)
    
    	AssertEqual(t, result2, namedUser)
    
    	var result3 NamedUser
    	DB.Where("name1 = @name OR name2 = @name OR name3 = @name", map[string]interface{}{"name": "jinzhu2"}).First(&result3)
    
    	AssertEqual(t, result3, namedUser)
    
    	var result4 NamedUser
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. statement_test.go

    	for k, v := range map[string][]string{
    		"table.name":         {"table", "name"},
    		"`table`.`name`":     {"table", "name"},
    		"'table'.'name'":     {"table", "name"},
    		"'table'.name":       {"table", "name"},
    		"table1.name_23":     {"table1", "name_23"},
    		"`table_1`.`name23`": {"table_1", "name23"},
    		"'table23'.'name_1'": {"table23", "name_1"},
    		"'table23'.name1":    {"table23", "name1"},
    		"'name1'":            {"", "name1"},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Dec 23 13:19:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. schema/constraint_test.go

    		}
    
    		for _, name := range []string{"Name", "Constraint"} {
    			if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() {
    				t.Errorf(
    					"check %v %v should equal, expects %v, got %v",
    					k, name, reflect.ValueOf(result).FieldByName(name).Interface(), reflect.ValueOf(v).FieldByName(name).Interface(),
    				)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. internal/ioutil/ioutil_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	name1 := f.Name()
    	defer os.Remove(name1)
    	f.WriteString("aaaaaaaaaa")
    	f.Close()
    
    	f, err = os.CreateTemp("", "")
    	if err != nil {
    		t.Fatal(err)
    	}
    	name2 := f.Name()
    	defer os.Remove(name2)
    	f.WriteString("bbbbbbbbbb")
    	f.Close()
    
    	if err = AppendFile(name1, name2, false); err != nil {
    		t.Error(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    		}
    		// Symlink will not be added to entries.
    		if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil {
    			t.Fatalf("Unable to create a symlink, %s", err)
    		}
    		// Add to entries.
    		entries = append(entries, name1)
    		// Symlinks are preserved for regular files
    		entries = append(entries, name2)
    	}
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. schema/index_test.go

    		},
    		"idx_oid": {
    			Name:   "idx_oid",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "OID", UniqueIndex: "idx_oid"}}},
    		},
    		"type": {
    			Name:   "type",
    			Type:   "",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name7"}}},
    		},
    		"idx_user_indices_name8": {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        String value() default "";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Name.java

        public String name, scope;
        public int hexCode;
        int srcHashCode; /* srcHashCode must be set by name resolution
                          * routines before entry into addressCache
                          */
    
        Name() {
        }
        public Name( String name, int hexCode, String scope ) {
            if( name.length() > 15 ) {
                name = name.substring( 0, 15 );
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Name.java

            }
            this.name = name.toUpperCase();
            this.hexCode = hexCode;
            this.scope = scope != null && scope.length() > 0 ? scope : cfg.getNetbiosScope();
            this.srcHashCode = 0;
        }
    
    
        /**
         * @param cfg
         * @param name
         */
        public Name ( Configuration cfg, NetbiosName name ) {
            this.config = cfg;
            this.name = name.getName();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
Back to top