Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for bfi1 (0.04 sec)

  1. 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)
  2. cmd/erasure-healing-common_test.go

    		NumVersions:      1,
    		Idx:              0,
    	}
    
    	tests := []struct {
    		fi1, fi2 FileInfo
    	}{
    		{
    			fi1: fi1,
    			fi2: fi2,
    		},
    		{
    			fi1: fi1,
    			fi2: fiDel,
    		},
    	}
    	for idx, test := range tests {
    		var metaArr []FileInfo
    		for i := 0; i < 12; i++ {
    			fi := test.fi1
    			if i%2 == 0 {
    				fi = test.fi2
    			}
    			metaArr = append(metaArr, fi)
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		},
    	}
    	for i := 0; i < b.N; i++ {
    		sd.WorkloadInstanceHandler(fi1, model.EventAdd)
    		sd.WorkloadInstanceHandler(fi2, model.EventAdd)
    		sd.WorkloadInstanceHandler(fi3, model.EventDelete)
    
    		sd.WorkloadInstanceHandler(fi2, model.EventDelete)
    		sd.WorkloadInstanceHandler(fi1, model.EventDelete)
    		sd.WorkloadInstanceHandler(fi3, model.EventDelete)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  8. cmd/erasure-healing_test.go

    	}
    
    	fileInfos, errs = readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    	nfi1, err := getLatestFileInfo(ctx, fileInfos, er.defaultParityCount, errs)
    	if err != nil {
    		t.Fatalf("Failed to getLatestFileInfo - %v", err)
    	}
    
    	if !reflect.DeepEqual(fi, nfi1) {
    		t.Fatalf("FileInfo not equal after healing")
    	}
    
    	// Test 2: Test with a corrupted xl.meta
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// bitfield ops
    		// for all bitfield ops lsb is auxInt>>8, width is auxInt&0xff
    		// insert low width bits of arg1 into the result starting at bit lsb, copy other bits from arg0
    		{name: "BFI", argLength: 2, reg: gp21nog, asm: "BFI", aux: "ARM64BitField", resultInArg0: true},
    		// extract width bits of arg1 starting at bit lsb and insert at low end of result, copy other bits from arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // bfi
    (OR (UBFIZ [bfc] x) (ANDconst [ac] y))
    	&& ac == ^((1<<uint(bfc.getARM64BFwidth())-1) << uint(bfc.getARM64BFlsb()))
    	=> (BFI [bfc] y x)
    (ORshiftRL [rc] (ANDconst [ac] x) (SLLconst [lc] y))
    	&& lc > rc && ac == ^((1<<uint(64-lc)-1) << uint64(lc-rc))
    	=> (BFI [armBFAuxInt(lc-rc, 64-lc)] x y)
    // bfxil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
Back to top