- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 84 for Namelen (0.13 sec)
-
pilot/pkg/config/monitor/file_snapshot_test.go
} ts.testSetup(t) fileWatcher := NewFileSnapshot(ts.rootPath, collection.SchemasFor(), "foo") configs, err := fileWatcher.ReadConfigFiles() g.Expect(err).NotTo(HaveOccurred()) g.Expect(configs).To(HaveLen(1)) g.Expect(configs[0].Domain).To(Equal("foo")) gateway := configs[0].Spec.(*networking.Gateway) g.Expect(gateway.Servers[0].Port.Number).To(Equal(uint32(80)))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.7K bytes - Viewed (0) -
pilot/pkg/config/aggregate/config_test.go
g.Expect(la).To(HaveLen(1)) g.Expect(la[0].Name).To(Equal("other")) l := store1.List(gvk.HTTPRoute, "") g.Expect(l).To(HaveLen(1)) g.Expect(l[0].Name).To(Equal("other")) // Check the aggregated and individual store return identical response g.Expect(la).To(BeEquivalentTo(l)) l = store2.List(gvk.HTTPRoute, "") g.Expect(l).To(HaveLen(0)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
src/os/dirent_openbsd.go
return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) } func direntType(buf []byte) FileMode { off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/dirent_freebsd.go
return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) } func direntType(buf []byte) FileMode { off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/dirent.go
if !ok { break } if ino == 0 { // File absent in directory. continue } const namoff = uint64(unsafe.Offsetof(Dirent{}.Name)) namlen, ok := direntNamlen(rec) if !ok || namoff+namlen > uint64(len(rec)) { break } name := rec[namoff : namoff+namlen] for i, c := range name { if c == 0 { name = name[:i] break } } // Check for useless names before allocating a string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3K bytes - Viewed (0) -
src/syscall/getdirentries_test.go
var dirent syscall.Dirent copy((*[unsafe.Sizeof(dirent)]byte)(unsafe.Pointer(&dirent))[:], data) data = data[dirent.Reclen:] name := make([]byte, dirent.Namlen) for i := 0; i < int(dirent.Namlen); i++ { name[i] = byte(dirent.Name[i]) } names2 = append(names2, string(name)) } } names = append(names, ".", "..") // Getdirentries returns these also slices.Sort(names)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.1K bytes - Viewed (0) -
src/os/dirent_netbsd.go
return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) } func direntType(buf []byte) FileMode { off := unsafe.Offsetof(syscall.Dirent{}.Type) if off >= uintptr(len(buf)) { return ^FileMode(0) // unknown } typ := buf[off] switch typ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/dir_unix.go
if ino == 0 && runtime.GOOS != "wasip1" { continue } const namoff = uint64(unsafe.Offsetof(syscall.Dirent{}.Name)) namlen, ok := direntNamlen(rec) if !ok || namoff+namlen > uint64(len(rec)) { break } name := rec[namoff : namoff+namlen] for i, c := range name { if c == 0 { name = name[:i] break } } // Check for useless names before allocating a string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:11:45 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/javadoc-link/checker-framework/package-list
org.checkerframework.checker.i18nformatter.unittests org.checkerframework.checker.index org.checkerframework.checker.index.lowerbound org.checkerframework.checker.index.qual org.checkerframework.checker.index.samelen org.checkerframework.checker.index.searchindex org.checkerframework.checker.index.substringindex org.checkerframework.checker.index.upperbound org.checkerframework.checker.initialization
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 07 19:00:31 UTC 2017 - 3.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
ctx := &fixtures.Context{ Resources: []*resource.Instance{ { Message: m2, Origin: fakeOrigin{}, }, }, } a.Analyze(ctx) g.Expect(ctx.Reports).To(HaveLen(1)) g.Expect(ctx.Reports[0].Type).To(Equal(msg.SchemaValidationError)) }) t.Run("MultiError", func(t *testing.T) { g := NewWithT(t) ctx := &fixtures.Context{ Resources: []*resource.Instance{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0)