- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Third (0.28 sec)
-
utils/utils.go
s = dir } return filepath.ToSlash(s) + "/" } // FileWithLineNum return the file name and line number of the current file func FileWithLineNum() string { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next()
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 22 06:43:02 GMT 2024 - 3.8K bytes - Viewed (0) -
misc/ios/detect.go
// license that can be found in the LICENSE file. //go:build ignore // detect attempts to autodetect the correct // values of the environment variables // used by go_ios_exec. // detect shells out to ideviceinfo, a third party program that can // be obtained by following the instructions at // https://github.com/libimobiledevice/libimobiledevice. package main import ( "bytes" "crypto/x509" "fmt" "os" "os/exec"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
case arch.IsARM64STLXR(op): // ARM64 instructions with one input and two outputs. prog.From = a[0] prog.To = a[1] if a[2].Type != obj.TYPE_REG { p.errorf("invalid addressing modes for third operand to %s instruction, must be register", op) return } prog.RegTo2 = a[2].Reg case arch.IsARM64TBL(op): // one of its inputs does not fit into prog.Reg. prog.From = a[0]
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
src/archive/zip/struct.go
// Limits for non zip64 files. uint16max = (1 << 16) - 1 uint32max = (1 << 32) - 1 // Extra header IDs. // // IDs 0..31 are reserved for official use by PKWARE. // IDs above that range are defined by third-party vendors. // Since ZIP lacked high precision timestamps (nor an official specification // of the timezone used for the date fields), many competing extra fields
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
chainable_api.go
return } // Offset specify the number of records to skip before starting to return the records // // Offset conditions can be cancelled by using `Offset(-1)`. // // // select the third user // db.Offset(2).First(&user) // // select the first user by cancelling an earlier chained offset // db.Offset(5).Offset(-1).First(&user) func (db *DB) Offset(offset int) (tx *DB) { tx = db.getInstance()
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Apr 17 03:38:55 GMT 2024 - 14.3K bytes - Viewed (1) -
istioctl/pkg/multicluster/remote_secret_test.go
t.Error("want error on remote write failure") } w = &fakeOutputWriter{failAfter: 2, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil { t.Error("want error on third write failure") } w = &fakeOutputWriter{} if err := writeEncodedObject(w, s); err != nil { t.Errorf("unexpected error: %v", err) } want := `# This file is autogenerated, do not edit.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
Instead, a separate tool, cgo, processes it to produce three output files. The first two, 6g.go and 6c.c, are a Go source file for 6g and a C source file for 6c; both compile as part of the named package (gmp, in this example). The third, gcc.c, is a C source file for gcc; it compiles into a shared object (.so) that is dynamically linked into any 6.out that imports the first two files. The stanza // #include <gmp.h> import "C"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
src/bufio/bufio_test.go
} data = data[len(line):] line, isPrefix, err = l.ReadLine() if isPrefix || !bytes.Equal(line, data[:minReadBufferSize/2]) || err != nil { t.Errorf("bad result for third line: got %q want %q %v", line, data[:minReadBufferSize/2], err) } line, isPrefix, err = l.ReadLine() if isPrefix || err == nil { t.Errorf("expected no more lines: %x %s", line, err) } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0)