Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for ft (0.3 sec)

  1. pkg/filewatcher/worker.go

    				if !bytes.Equal(sum, ft.hash) {
    					ft.hash = sum
    
    					select {
    					case ft.events <- event:
    						// nothing to do
    
    					case ft := <-wk.retireTrackerCh:
    						retireTracker(ft)
    
    					case <-wk.terminateCh:
    						return
    					}
    				}
    			}
    
    		case err := <-wk.dirWatcher.Errors:
    			for _, ft := range wk.getTrackers() {
    				if ft.errors == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 22:31:06 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/util/async/bounded_frequency_runner_test.go

    	ft.lock.Lock()
    	defer ft.lock.Unlock()
    
    	return ft.timeout.Sub(ft.now)
    }
    
    func (ft *fakeTimer) Since(t time.Time) time.Duration {
    	ft.lock.Lock()
    	defer ft.lock.Unlock()
    
    	return ft.now.Sub(t)
    }
    
    func (ft *fakeTimer) Sleep(d time.Duration) {
    	// ft.advance grabs ft.lock
    	ft.advance(d)
    }
    
    // advance the current time.
    func (ft *fakeTimer) advance(d time.Duration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    			}
    			pbranch := positive
    			if pk.i == 1 {
    				pbranch = negative
    			}
    			ft.checkpoint()
    			// Assume branch p->b is taken.
    			addBranchRestrictions(ft, p, pbranch)
    			// Check if any outgoing branch is unreachable based on the above condition.
    			parent := b
    			for j, bbranch := range [...]branch{positive, negative} {
    				ft.checkpoint()
    				// Try to update relationship b->child, and check if the contradiction occurs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/abiutilsaux_test.go

    	}
    	return ""
    }
    
    func nrtest(t *testing.T, ft *types.Type, expected int) {
    	types.CalcSize(ft)
    	got := configAMD64.NumParamRegs(ft)
    	if got != expected {
    		t.Errorf("]\nexpected num regs = %d, got %d, type %v", expected, got, ft)
    	}
    }
    
    func abitest(t *testing.T, ft *types.Type, exp expectedDump) {
    
    	types.CalcSize(ft)
    
    	// Analyze with full set of registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:34:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/prove.go

    	ft.limitStack = append(ft.limitStack, checkpointBound)
    	ft.orderS.Checkpoint()
    	ft.orderU.Checkpoint()
    }
    
    // restore restores known relation to the state just
    // before the previous checkpoint.
    // Called when backing up on a branch.
    func (ft *factsTable) restore() {
    	if ft.unsatDepth > 0 {
    		ft.unsatDepth--
    	} else {
    		ft.unsat = false
    	}
    	for {
    		old := ft.stack[len(ft.stack)-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/abiutils_test.go

    	// func(x int32) int32
    	i32 := types.Types[types.TINT32]
    	ft := mkFuncType(nil, []*types.Type{i32}, []*types.Type{i32})
    
    	// expected results
    	exp := makeExpectedDump(`
            IN 0: R{ I0 } spilloffset: 0 typ: int32
            OUT 0: R{ I0 } spilloffset: -1 typ: int32
            offsetToSpillArea: 0 spillAreaSize: 8
    `)
    
    	abitest(t, ft, exp)
    }
    
    func TestABIUtilsBasic2(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/time/tzdata_test.go

    		typ := v1.Type()
    		nf := typ.NumField()
    		found := 0
    		for i := 0; i < nf; i++ {
    			ft := typ.Field(i)
    			if ft.Name != "name" && ft.Name != "zone" {
    				continue
    			}
    			found++
    			if !equal(t, v1.Field(i), v2.Field(i)) {
    				t.Errorf("zone %s: system and embedded tzdata field %s differs", zone, ft.Name)
    			}
    		}
    		if found != 2 {
    			t.Errorf("test must be updated for change to time.Location struct")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/dwarf.go

    		doffsets[i].offset = coffsets[i]
    	}
    
    	ft.mu.Lock()
    	defer ft.mu.Unlock()
    
    	// Store offsets for this symbol.
    	idx, found := ft.symtab[s]
    	if !found {
    		sf := symFixups{inlIndex: -1, defseen: true, doffsets: doffsets}
    		ft.svec = append(ft.svec, sf)
    		ft.symtab[s] = len(ft.svec) - 1
    	} else {
    		sf := &ft.svec[idx]
    		sf.doffsets = doffsets
    		sf.defseen = true
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  9. src/reflect/export_test.go

    	var ft *abi.Type
    	var abid abiDesc
    	if rcvr != nil {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.common())), rcvr.common())
    	} else {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.(*rtype))), nil)
    	}
    	// Extract size information.
    	argSize = abid.stackCallArgsSize
    	retOffset = abid.retOffset
    	frametype = toType(ft)
    
    	// Expand stack pointer bitmap into byte-map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-free-version_test.go

    		},
    	}
    
    	for _, ft := range freeVersionsTests {
    		fi, err := xl.ToFileInfo(ft.vol, ft.name, "", ft.inclFreeVers, true)
    		if err != nil && !errors.Is(err, ft.expectedErr) {
    			t.Fatalf("ToFileInfo failed due to %v", err)
    		}
    		if got := fi.TierFreeVersion(); got != ft.expectedFree {
    			t.Fatalf("Expected free-version=%v but got free-version=%v", ft.expectedFree, got)
    		}
    		if ft.afterFn != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top