Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 273 for _ecounters (0.34 sec)

  1. pkg/util/removeall/removeall.go

    // RemoveDirsOneFilesystem will remove only directories and returns an error if
    // it encounters any files in the directory tree. It makes sure it does not
    // cross mount boundaries, i.e. it returns an error rather than remove dirs
    // from another filesystem. It removes everything it can but returns the first
    // error it encounters. If the path does not exist, it returns nil (no error).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 16:41:02 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. src/internal/coverage/defs.go

    // CounterFlavor describes how function and counters are
    // stored/represented in the counter section of the file.
    type CounterFlavor uint8
    
    const (
    	// "Raw" representation: all values (pkg ID, func ID, num counters,
    	// and counters themselves) are stored as uint32's.
    	CtrRaw CounterFlavor = iota + 1
    
    	// "ULeb" representation: all values (pkg ID, func ID, num counters,
    	// and counters themselves) are stored with ULEB128 encoding.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    				// stack
    				prog.Stacks[k] += int64(v)
    			} else {
    				// counter
    				prog.Counters[k] += int64(v)
    			}
    			succeeded = true
    			fok = true
    		}
    		if !fok {
    			u.logger.Printf("no counters found in %s", f)
    		}
    	}
    	if !succeeded {
    		return "", fmt.Errorf("none of the %d count files for %s contained counters", len(countFiles), expiryDate)
    	}
    	// 1. generate the local report
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/internal/coverage/encodecounter/encode.go

    			return err
    		} else if sz != towr {
    			return fmt.Errorf("writing counters: short write")
    		}
    		return nil
    	}
    
    	// Write out entries for each live function.
    	emitter := func(pkid uint32, funcid uint32, counters []uint32) error {
    		cfw.csh.FcnEntries++
    		if err := wrval(uint32(len(counters))); err != nil {
    			return err
    		}
    
    		if err := wrval(pkid); err != nil {
    			return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. pkg/util/iptables/testing/fake.go

    func (f *FakeIPTables) Restore(table iptables.Table, data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error {
    	dump, err := ParseIPTablesDump(string(data))
    	if err != nil {
    		return err
    	}
    
    	newTable, err := dump.GetTable(table)
    	if err != nil {
    		return err
    	}
    
    	return f.restoreTable(dump, newTable, flush, counters)
    }
    
    // RestoreAll is part of iptables.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/scripts/process-log.groovy

    println("Processing ${logFile} into directory ${processedDirectory}")
    
    int uniqueOpCount = 0
    int uniqueExcludeCount = 0
    
    Map<String, Counter> opCounters = [:].withDefault { new Counter(uniqueOpCount++) }
    Map<String, Counter> excludeCounters = [:].withDefault { new Counter(uniqueExcludeCount++) }
    
    class Counter {
        final int id
        Counter(int id) { this.id = id}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to parse: %v", err)
    	}
    	return pf, nil
    }
    
    // ReadFile reads the counters and stack counters from the given file.
    // This is the implementation of x/telemetry/counter/countertest.Read
    func ReadFile(name string) (counters, stackCounters map[string]uint64, _ error) {
    	// TODO: Document the format of the stackCounters names.
    
    	data, err := os.ReadFile(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental_reader.h

    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Test only exports of the monitoring Cell Reader API which allows tests to
    // read current values from streamz counters defined in other modules.
    //
    // The code under test will have created streamz counters like this:
    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/psapi_windows.go

    	QuotaPeakNonPagedPoolUsage uintptr
    	QuotaNonPagedPoolUsage     uintptr
    	PagefileUsage              uintptr
    	PeakPagefileUsage          uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 00:09:40 UTC 2017
    - 716 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    			}
    			wroteNext = true
    		} else {
    			c.next.Store(next)
    		}
    		if f.counters.CompareAndSwap(head, c) {
    			debugPrintf("registered %s %p\n", c.Name(), f.counters.Load())
    			return
    		}
    		debugPrintf("register %s cas2 failed %p %p\n", c.Name(), f.counters.Load(), head)
    	}
    }
    
    // invalidateCounters marks as invalid all the pointers
    // held by f's counters and then refreshes them.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top