- Sort Score
- Result 10 results
- Languages All
Results 961 - 970 of 1,123 for Nil (0.01 sec)
-
cni/pkg/nodeagent/netns_linux_test.go
// limitations under the License. package nodeagent import "testing" func TestOpenNetns(t *testing.T) { ns, err := OpenNetns("/proc/self/ns/net") if err != nil { t.Fatalf("unexpected error: %v", err) } // the inode for netns is proc dynamic, so it needs to be higher than // #define PROC_DYNAMIC_FIRST 0xF0000000U if ns.Inode() < 0xF0000000 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 976 bytes - Viewed (0) -
schema/utils.go
for idx, field := range fields { results[0][idx], zero = field.ValueOf(ctx, reflectValue) notZero = notZero || !zero } if !notZero { return nil, nil } dataResults[utils.ToStringKey(results[0]...)] = []reflect.Value{reflectValue} case reflect.Slice, reflect.Array: for i := 0; i < reflectValue.Len(); i++ { elem := reflectValue.Index(i)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Aug 19 13:35:14 UTC 2023 - 5.5K bytes - Viewed (0) -
cmd/os-dirent_namelen_bsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "syscall" func direntNamlen(dirent *syscall.Dirent) (uint64, error) { return uint64(dirent.Namlen), nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 982 bytes - Viewed (0) -
cmd/version_test.go
package cmd import ( "testing" "time" ) func TestVersion(t *testing.T) { Version = "2017-05-07T06:37:49Z" _, err := time.Parse(time.RFC3339, Version) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 956 bytes - Viewed (0) -
internal/disk/disk_windows.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 951 bytes - Viewed (0) -
internal/disk/disk_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 22:20:48 UTC 2023 - 1.1K bytes - Viewed (0) -
internal/disk/fdatasync_unix.go
"syscall" ) // Fdatasync is fsync on freebsd/darwin func Fdatasync(f *os.File) error { return syscall.Fsync(int(f.Fd())) } // FadviseDontNeed is a no-op func FadviseDontNeed(f *os.File) error { return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 29 23:40:28 UTC 2021 - 1.1K bytes - Viewed (0) -
internal/disk/root_disk.go
func IsRootDisk(diskPath string, rootDisk string) (bool, error) { if runtime.GOOS == "windows" { // On windows this function is not implemented. return false, nil } return SameDisk(diskPath, rootDisk)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.1K bytes - Viewed (0) -
internal/s3select/sql/parser.go
return nil } // LiteralList is a type for parsed SQL lists literals type LiteralList []string // Capture interface used by participle func (ls *LiteralList) Capture(values []string) error { // Remove enclosing parenthesis. n := len(values[0]) r := values[0][1 : n-1] // Translate doubled quotes *ls = LiteralList(strings.Split(r, ",")) return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
// Returns error gathered from recover; nil if no parse errors occurred. // // For unexpected panics, calls t.Fatal. func tryParse(t *testing.T, parse func()) (err error) { panicOnError = true defer func() { panicOnError = false e := recover() var ok bool if err, ok = e.(error); e != nil && !ok { t.Fatal(e) } }() parse() return nil }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0)