- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for bfi1 (0.06 sec)
-
guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertTrue(bf2.mightContain(element2)); assertTrue(bf1.isCompatible(bf2)); bf1.putAll(bf2); assertTrue(bf1.mightContain(element1)); assertTrue(bf1.mightContain(element2)); assertFalse(bf2.mightContain(element1)); assertTrue(bf2.mightContain(element2)); } public void testPutAllDifferentSizes() { BloomFilter<Integer> bf1 = BloomFilter.create(Funnels.integerFunnel(), 1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 21.2K bytes - Viewed (0) -
src/os/types.go
// SameFile reports whether fi1 and fi2 describe the same file. // For example, on Unix this means that the device and inode fields // of the two underlying structures are identical; on other systems // the decision may be based on the path names. // SameFile only applies to results returned by this package's [Stat]. // It returns false in other cases. func SameFile(fi1, fi2 FileInfo) bool { fs1, ok1 := fi1.(*fileStat)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 23K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
t.Errorf("Error creating tmp file: %v", err) } tmpFile := f.Name() f.Close() defer os.Remove(f.Name()) fi1, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } fi2, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } if !SameFile(fi1, fi2) { t.Fatal("Expected the files to be same") }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/ioutil/ioutil.go
return io.CopyBuffer(dst, src, buf) } // SameFile returns if the files are same. func SameFile(fi1, fi2 os.FileInfo) bool { if !os.SameFile(fi1, fi2) { return false } if !fi1.ModTime().Equal(fi2.ModTime()) { return false } if fi1.Mode() != fi2.Mode() { return false } return fi1.Size() == fi2.Size() } // DirectioAlignSize - DirectIO alignment needs to be 4K. Defined here as
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 10.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref_test.go
func BenchmarkGetControllerOf(b *testing.B) { gvk := schema.GroupVersionKind{ Group: "group", Version: "v1", Kind: "Kind", } obj1 := &metaObj{ ObjectMeta: ObjectMeta{ UID: "9d0cdf8a-dedc-11e9-bf91-42010a800167", Name: "my-object", }, } controllerRef := NewControllerRef(obj1, gvk) controllerRef2 := *controllerRef controllerRef2.Controller = nil obj2 := &metaObj{ ObjectMeta: ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 05:14:33 UTC 2024 - 4K bytes - Viewed (0) -
src/os/stat_test.go
} dirlinkWithSlash := dirlink + string(os.PathSeparator) testDirStats(t, dirlinkWithSlash) fi1, err := os.Stat(dir) if err != nil { t.Error(err) return } fi2, err := os.Stat(dirlinkWithSlash) if err != nil { t.Error(err) return } if !os.SameFile(fi1, fi2) { t.Errorf("os.Stat(%q) and os.Stat(%q) are not the same file", dir, dirlinkWithSlash) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:38:03 UTC 2024 - 7.8K bytes - Viewed (0) -
src/os/os_windows_test.go
continue } fi1, err := os.Stat(link) if err != nil { t.Errorf("failed to stat link %v: %v", link, err) continue } if tp := fi1.Mode().Type(); tp != fs.ModeDir { t.Errorf("Stat(%q) is type %v; want %v", link, tp, fs.ModeDir) continue } if fi1.Name() != filepath.Base(link) { t.Errorf("Stat(%q).Name() = %q, want %q", link, fi1.Name(), filepath.Base(link)) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
src/internal/cpu/cpu_x86.go
// These options are required at level 3. At lower levels // they can be turned off. options = append(options, option{Name: "avx", Feature: &X86.HasAVX}, option{Name: "avx2", Feature: &X86.HasAVX2}, option{Name: "bmi1", Feature: &X86.HasBMI1}, option{Name: "bmi2", Feature: &X86.HasBMI2}, option{Name: "fma", Feature: &X86.HasFMA}) } if level < 4 { // These options are required at level 4. At lower levels
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 13:40:20 UTC 2024 - 5.8K bytes - Viewed (0) -
src/net/http/cgi/host_test.go
linesRead, line, m) } m[k] = v } for key, expected := range expectedMap { got := m[key] if key == "cwd" { // For Windows. golang.org/issue/4645. fi1, _ := os.Stat(got) fi2, _ := os.Stat(expected) if os.SameFile(fi1, fi2) { got = expected } } if got != expected { t.Errorf("for key %q got %q; expected %q", key, got, expected) } } for _, check := range checks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0)