Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for Member (0.62 sec)

  1. tests/associations_test.go

    	var member2 Member
    	if err := DB.First(&member2, "id = ?", member.ID).Error; err != nil {
    		t.Fatalf("failed to find member, got error: %v", err)
    	} else if member2.ProfileID != 100 {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", 100, member2.ProfileID)
    	}
    
    	if r := DB.Delete(&profile); r.Error != nil || r.RowsAffected != 1 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. tests/tests_test.go

    		// CREATE DATABASE gorm;
    		// GO
    		// CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86';
    		// CREATE USER gorm FROM LOGIN gorm;
    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    		log.Println("testing tidb...")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/goobj.go

    					entries = append(entries, &Entry{
    						name: e.Name,
    						raw:  raw,
    					})
    					continue L
    				}
    			}
    		}
    		return nil, fmt.Errorf("open %s: unrecognized archive member %s", f.Name(), e.Name)
    	}
    	return &File{f, entries}, nil
    }
    
    func goobjName(name string, ver int) string {
    	if ver == 0 {
    		return name
    	}
    	return fmt.Sprintf("%s<%d>", name, ver)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    perhaps additional padding.  C arrays become Go arrays.  C pointers
    become Go pointers.  C function pointers become Go's uintptr.
    C void pointers become Go's unsafe.Pointer.
    
    For example, mpz_t is defined in <gmp.h> as:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		//	---------- 0/0               0 2017-07-13 19:40 global1
    		//	---------- 0/0               0 2017-07-13 19:40 file2
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 1969-12-31 16:00
    		//	gnutar: Substituting `.' for empty member name
    		//	---------- 0/0               0 2014-05-13 09:53
    		//
    		// According to the PAX specification, this should have been the result:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "BitLen8", argLength: 1},      // Number of bits in arg[0] (returns 0-8)
    	{name: "BitLen16", argLength: 1},     // Number of bits in arg[0] (returns 0-16)
    	{name: "BitLen32", argLength: 1},     // Number of bits in arg[0] (returns 0-32)
    	{name: "BitLen64", argLength: 1},     // Number of bits in arg[0] (returns 0-64)
    
    	{name: "Bswap16", argLength: 1}, // Swap bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/cmd/internal/sys/arch.go

    	// the stack in the function prologue and so always have a
    	// pointer between the hardware stack pointer and the local
    	// variable area.
    	FixedFrameSize int64
    }
    
    // InFamily reports whether a is a member of any of the specified
    // architecture families.
    func (a *Arch) InFamily(xs ...ArchFamily) bool {
    	for _, x := range xs {
    		if a.Family == x {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf_test.go

    			}
    			gotMembers, err := findMembers(rdr)
    			if err != nil {
    				t.Fatalf("error reading DWARF: %v", err)
    			}
    
    			if !reflect.DeepEqual(gotMembers, wantMembers) {
    				t.Errorf("type %v: got map[member]embedded = %+v, want %+v", name, wantMembers, gotMembers)
    			}
    			delete(want, name)
    		}
    	}
    	if len(want) != 0 {
    		t.Errorf("failed to check all expected types: missing types = %+v", want)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf.go

    	return n
    }
    
    func elfwriteinterp(out *OutBuf) int {
    	sh := elfshname(".interp")
    	out.SeekSet(int64(sh.Off))
    	out.WriteString(interp)
    	out.Write8(0)
    	return int(sh.Size)
    }
    
    // member of .gnu.attributes of MIPS for fpAbi
    const (
    	// No floating point is present in the module (default)
    	MIPS_FPABI_NONE = 0
    	// FP code in the module uses the FP32 ABI for a 32-bit ABI
    	MIPS_FPABI_ANY = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/cmd/dist/build.go

    func dopack(dst, src string, extra []string) {
    	bdst := bytes.NewBufferString(readfile(src))
    	for _, file := range extra {
    		b := readfile(file)
    		// find last path element for archive member name
    		i := strings.LastIndex(file, "/") + 1
    		j := strings.LastIndex(file, `\`) + 1
    		if i < j {
    			i = j
    		}
    		fmt.Fprintf(bdst, "%-16.16s%-12d%-6d%-6d%-8o%-10d`\n", file[i:], 0, 0, 0, 0644, len(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top