Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for id_map (0.1 sec)

  1. internal/logger/logonce.go

    // Holds a map of recently logged errors.
    type logOnceType struct {
    	IDMap map[string]onceErr
    	sync.Mutex
    }
    
    func (l *logOnceType) logOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScopeIdsFixture.groovy

        @Override
        void afterBuild() {
            Map<String, Map<String, String>> idsMap = idsFile.readLines()
                .collect { line -> new JsonSlurper().parse(new StringReader(line)) as Map<String, Map<String, String>> }
                .collectMany { it.entrySet() }
                .collectEntries { it }
            Map<String, ScopeIds> ids = [:]
            idsMap.each {
                ids[it.key] = new ScopeIds(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/pidlimit/pidlimit_linux.go

    func Stats() (*statsapi.RlimitStats, error) {
    	rlimit := &statsapi.RlimitStats{}
    
    	taskMax := int64(-1)
    	// Calculate the minimum of kernel.pid_max and kernel.threads-max as they both specify the
    	// system-wide limit on the number of tasks.
    	for _, file := range []string{"/proc/sys/kernel/pid_max", "/proc/sys/kernel/threads-max"} {
    		if content, err := os.ReadFile(file); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:24:29 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc

              << "Malformed " << TF::kParallelExecAnnotation << " attribute";
          return failure();
        }
        if (id_pairs.empty()) continue;
    
        TF::ParallelIdsMap& ids_map = op_to_parallel_ids_map[island];
        for (const auto& [group_id, branch_id] : id_pairs)
          ids_map[group_id] = branch_id;
      }
      return success();
    }
    
    // Fills `op_to_parallel_ids_map` from parallel execution attributes in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 07:53:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. pkg/util/kernel/constants.go

    // (ref: https://github.com/torvalds/linux/commit/35dfb013149f74c2be1ff9c78f14e6a3cd1539d1)
    const IPVSConnReuseModeFixedKernelVersion = "5.9"
    
    // UserNamespacesSupportKernelVersion is the kernel version where idmap for tmpfs support was added
    // (ref: https://github.com/torvalds/linux/commit/05e6295f7b5e05f09e369a3eb2882ec5b40fff20)
    const UserNamespacesSupportKernelVersion = "6.3"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/spec/assignability.go

    	_Pointer   = *int
    	_Func      = func(x int) string
    	_Interface = interface{ m() int }
    	_Map       = map[string]int
    	_Chan      = chan int
    
    	Basic     _Basic
    	Array     _Array
    	Slice     _Slice
    	Struct    _Struct
    	Pointer   _Pointer
    	Func      _Func
    	Interface _Interface
    	Map       _Map
    	Chan      _Chan
    	Defined   _Struct
    )
    
    func (Defined) m() int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. .github/workflows/tests.yml

          matrix:
            dbversion: [ 'v6.5.0' ]
            go: ['1.22', '1.21', '1.20']
            platform: [ ubuntu-latest ]
        runs-on: ${{ matrix.platform }}
    
        steps:
          - name: Setup TiDB
            uses: Icemap/tidb-action@main
            with:
              port: 9940
              version: ${{matrix.dbversion}}
    
          - name: Set up Go 1.x
            uses: actions/setup-go@v4
            with:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/tokens.go

    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    	_Return      // return
    	_Select      // select
    	_Struct      // struct
    	_Switch      // switch
    	_Type        // type
    	_Var         // var
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top