Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for St2 (0.03 sec)

  1. internal/disk/disk_unix.go

    func SameDisk(disk1, disk2 string) (bool, error) {
    	st1 := syscall.Stat_t{}
    	st2 := syscall.Stat_t{}
    
    	if err := syscall.Stat(disk1, &st1); err != nil {
    		return false, err
    	}
    
    	if err := syscall.Stat(disk2, &st2); err != nil {
    		return false, err
    	}
    
    	return st1.Dev == st2.Dev, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/switch_test.go

    }
    
    func (ST0) si0() {
    }
    
    type SI1 interface {
    	si1()
    }
    type ST1 struct {
    }
    
    func (ST1) si1() {
    }
    
    type SI2 interface {
    	si2()
    }
    type ST2 struct {
    }
    
    func (ST2) si2() {
    }
    
    type SI3 interface {
    	si3()
    }
    type ST3 struct {
    }
    
    func (ST3) si3() {
    }
    
    type SI4 interface {
    	si4()
    }
    type ST4 struct {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. test/typeparam/issue48191.go

    		m4 = m6
    		as7 = as7
    		m6[(i8_0+i8_0)&^i8_1&^i8_1] = m5[G1(96)^i8_1]
    		st2 = struct {
    		}{}
    		st1 = struct {
    		}{}
    		am10 = []map[uint]int64{am9[len((*st4.pm2)[int64(65)].s0)+i], am11[st4.st1.st3.i1%st4.st1.st3.i1^i1]}
    		i2 = st5.st1.st3.i1*i - st5.st1.st3.i1
    		_, _, _, _, _, _, _, _, _, _, _, _, _ = ch5, fnc0, c0, st0, st1, st2, au8, st3, st4, st5, am9, am10, am11
    	}
    
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf_test.go

    		}
    		if s.Addr == 0 || s.Size == 0 {
    			continue
    		}
    		secs = append(secs, s)
    	}
    
    	secOverlaps := func(s1, s2 *elf.Section) bool {
    		st1 := s1.Addr
    		st2 := s2.Addr
    		en1 := s1.Addr + s1.Size
    		en2 := s2.Addr + s2.Size
    		return max(st1, st2) < min(en1, en2)
    	}
    
    	// Sort by address
    	sort.SliceStable(secs, func(i, j int) bool {
    		return secs[i].Addr < secs[j].Addr
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    	}
    	return nil
    }
    
    // equalValueType returns true if the two value types are semantically
    // equal. It ignores the internal fields used during encode/decode.
    func equalValueType(st1, st2 *ValueType) bool {
    	return st1.Type == st2.Type && st1.Unit == st2.Unit
    }
    
    // locationIDMap is like a map[uint64]*Location, but provides efficiency for
    // ids that are densely numbered, which is often the case.
    type locationIDMap struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top