Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for dwinfo (0.14 sec)

  1. cmd/local-locker.go

    		if reply = !isWriteLock(lri); reply {
    			// Unless there is a write lock
    			l.lockMap[resource] = append(l.lockMap[resource], lrInfo)
    			l.lockUID[formatUUID(args.UID, 0)] = resource
    		}
    	} else {
    		// No locks held on the given name, so claim (first) read lock
    		l.lockMap[resource] = []lockRequesterInfo{lrInfo}
    		l.lockUID[formatUUID(args.UID, 0)] = resource
    		reply = true
    	}
    	return reply, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    		},
    	}
    
    	inputContainer := &runtimeapi.Container{
    		CreatedAt: containerStartTime.Unix(),
    		Metadata: &runtimeapi.ContainerMetadata{
    			Name: "c0",
    		},
    	}
    
    	inputRootFsInfo := &cadvisorapiv2.FsInfo{}
    
    	// Used by the getPodContainerLogStats() call in makeWinContainerStats()
    	inputPodSandboxMetadata := &runtimeapi.PodSandboxMetadata{
    		Namespace: "sb0-ns",
    		Name:      "sb0-name",
    		Uid:       "sb0-uid",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/dwarfgen/dwinl.go

    // drive generation of DWARF "inlined subroutine" DIEs. See proposal
    // 22080 for more details and background info.
    func assembleInlines(fnsym *obj.LSym, dwVars []*dwarf.Var) dwarf.InlCalls {
    	var inlcalls dwarf.InlCalls
    
    	if base.Debug.DwarfInl != 0 {
    		base.Ctxt.Logf("assembling DWARF inlined routine info for %v\n", fnsym.Name)
    	}
    
    	// This maps inline index (from Ctxt.InlTree) to index in inlcalls.Calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. pkg/registry/core/serviceaccount/storage/token.go

    	return gvk
    }
    
    // newContext return a copy of ctx in which new RequestInfo is set
    func newContext(ctx context.Context, resource, name, namespace string, gvk schema.GroupVersionKind) context.Context {
    	newInfo := genericapirequest.RequestInfo{
    		IsResourceRequest: true,
    		Verb:              "get",
    		Namespace:         namespace,
    		Resource:          resource,
    		Name:              name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/provider_test.go

    			TxBytes:  0,
    			TxErrors: 0,
    		}},
    	}
    	return cinfo
    }
    
    func getContainerInfoWithZeroCpuMem(seed int, podName string, podNamespace string, containerName string) cadvisorapiv2.ContainerInfo {
    	cinfo := getTestContainerInfo(seed, podName, podNamespace, containerName)
    	cinfo.Stats[0].Memory.RSS = 0
    	cinfo.Stats[0].CpuInst.Usage.Total = 0
    	return cinfo
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. src/runtime/stkframe.go

    			// getStackMap from "leaking param content:
    			// frame".  That leak propagates up to getgcmask, then
    			// GCMask, then verifyGCInfo, which converts the stack
    			// gcinfo tests into heap gcinfo tests :(
    		}
    	}
    
    	return
    }
    
    var methodValueCallFrameObjs [1]stackObjectRecord // initialized in stackobjectinit
    
    func stkobjinit() {
    	var abiRegArgsEface any = abi.RegArgs{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	}
    	for _, name := range nostatsOverrides {
    		info, found := infos[name]
    		if !found {
    			t.Errorf("No container defined with name %v", name)
    		}
    		info.Spec.Memory = cadvisorapiv2.MemorySpec{}
    		info.Spec.Cpu = cadvisorapiv2.CpuSpec{}
    		info.Spec.HasMemory = false
    		info.Spec.HasCpu = false
    		info.Spec.HasNetwork = false
    		infos[name] = info
    	}
    
    	options := cadvisorapiv2.RequestOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. src/testing/fstest/testfs.go

    func formatInfoEntry(info fs.FileInfo) string {
    	return fmt.Sprintf("%s IsDir=%v Type=%v", info.Name(), info.IsDir(), info.Mode().Type())
    }
    
    // formatInfo formats an fs.FileInfo into a string for error messages and comparison.
    func formatInfo(info fs.FileInfo) string {
    	return fmt.Sprintf("%s IsDir=%v Mode=%v Size=%d ModTime=%v", info.Name(), info.IsDir(), info.Mode(), info.Size(), info.ModTime())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/liveness/plive.go

    		}
    	}
    
    	// Emit the live pointer map data structures
    	ls := curfn.LSym
    	fninfo := ls.Func()
    	fninfo.GCArgs, fninfo.GCLocals = lv.emit()
    
    	p := pp.Prog(obj.AFUNCDATA)
    	p.From.SetConst(rtabi.FUNCDATA_ArgsPointerMaps)
    	p.To.Type = obj.TYPE_MEM
    	p.To.Name = obj.NAME_EXTERN
    	p.To.Sym = fninfo.GCArgs
    
    	p = pp.Prog(obj.AFUNCDATA)
    	p.From.SetConst(rtabi.FUNCDATA_LocalsPointerMaps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/select.go

    	// the new go.mod file. We clear it again at the end on a
    	// best-effort basis (ignoring failures).
    	dir := filepath.Dir(old)
    	info, err := os.Stat(dir)
    	if err != nil {
    		return err
    	}
    	if err := os.Chmod(dir, info.Mode()|writeBits); err != nil {
    		return err
    	}
    	defer os.Chmod(dir, info.Mode())
    	// Note: create the file writable, so that a racing go command
    	// doesn't get an error before we store the actual data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top