Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for longlong (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callfsync_range(fd int, how int, start int64, length int64) (r1 uintptr, e1 Errno) {
    	r1 = uintptr(C.fsync_range(C.int(fd), C.int(how), C.longlong(start), C.longlong(length)))
    	e1 = syscall.GetErrno()
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go

    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func fsyncRange(fd int, how int, start int64, length int64) (err error) {
    	r0, er := C.fsync_range(C.int(fd), C.int(how), C.longlong(start), C.longlong(length))
    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Acct(path string) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  3. src/syscall/types_linux.go

    	sizeofLongLong = C.sizeof_longlong
    	PathMax        = C.PATH_MAX
    )
    
    // Basic types
    
    type (
    	_C_short     C.short
    	_C_int       C.int
    	_C_long      C.long
    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    type Timex C.struct_timex
    
    type Time_t C.time_t
    
    type Tms C.struct_tms
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 26 20:15:45 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    C.complexfloat (complex float), and C.complexdouble (complex double).
    The C type void* is represented by Go's unsafe.Pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/mime/multipart/multipart_test.go

    	}
    	buf.Reset()
    	if _, err := io.Copy(buf, part); err != nil {
    		t.Errorf("part 2 copy: %v", err)
    	}
    	s := buf.String()
    	if len(s) != len(longLine) {
    		t.Errorf("part2 body expected long line of length %d; got length %d",
    			len(longLine), len(s))
    	}
    	if s != longLine {
    		t.Errorf("part2 long body didn't match")
    	}
    
    	// Part3
    	part, err = reader.NextPart()
    	if part == nil || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 30.4K bytes
    - Viewed (0)
  6. src/cmd/doc/doc_test.go

    			`var MultiLineVar = map\[struct{ ... }\]struct{ ... }{ ... }`,  // Multi line variable.
    			`func MultiLineFunc\(x interface{ ... }\) \(r struct{ ... }\)`, // Multi line function.
    			`var LongLine = newLongLine\(("someArgument[1-4]", ){4}...\)`,  // Long list of arguments.
    			`type T1 = T2`,                                                 // Type alias
    			`type SimpleConstraint interface{ ... }`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/testx.go

    func GoIssue6833Func(aui uint, aui64 uint64) uint64 {
    	return aui64 + uint64(aui)
    }
    
    func test6833(t *testing.T) {
    	ui := 7
    	ull := uint64(0x4000300020001000)
    	v := uint64(C.issue6833Func(C.uint(ui), C.ulonglong(ull)))
    	exp := uint64(ui) + ull
    	if v != exp {
    		t.Errorf("issue6833Func() returns %x, expected %x", v, exp)
    	}
    }
    
    // issue 6907
    
    const CString = "C string"
    
    //export CheckIssue6907Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. pkg/test/loadbalancersim/lb_test.go

    	numClients := 1
    	clientRPS := 1500
    	clientRequests := 1500
    	activeRequestBias := 1.0
    	sameZone := locality.Parse("us-east/ny")
    	sameRegion := locality.Parse("us-east/boston")
    	otherRegion := locality.Parse("asia-east/hongkong")
    	priorityWeights := map[uint32]uint32{
    		0: 30,
    		1: 20,
    		2: 1,
    	}
    	networkLatencies := map[mesh.RouteKey]time.Duration{
    		{
    			Src:  sameZone,
    			Dest: sameZone,
    		}: 1 * time.Millisecond,
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    	// Use long-link files if Name or Linkname exceeds the field size.
    	const longName = "././@LongLink"
    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongName, FormatGNU); err != nil {
    			return err
    		}
    	}
    	if len(hdr.Linkname) > nameSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top