Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 65 of 65 for Munmap (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch.go

    				}
    
    				var filteredSubMap map[string]interface{}
    				filteredSubMap, err = keepOrDeleteNullInObj(typedVal, keepNull)
    				if err != nil {
    					return nil, err
    				}
    
    				// If the returned filtered submap was empty, this is an empty patch for the entire subdict, so the key
    				// should not be set
    				if len(filteredSubMap) != 0 {
    					filteredMap[key] = filteredSubMap
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/crypto/md5/gen.go

    	a, b, c, d string
    	Shift1     []int
    	Shift2     []int
    	Shift3     []int
    	Shift4     []int
    	Table1     []uint32
    	Table2     []uint32
    	Table3     []uint32
    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    	"rotate":  rotate,
    	"idx":     idx,
    	"seq":     seq,
    }
    
    func dup(count int, x []int) []int {
    	var out []int
    	for i := 0; i < count; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pkg/ctrlz/ctrlz.go

    	allTopics = append(allTopics, coreTopics...)
    	allTopics = append(allTopics, customTopics...)
    	topicMutex.Unlock()
    
    	exec, _ := os.Executable()
    	instance := exec + " - " + getLocalIP()
    
    	funcs := template.FuncMap{
    		"getTopics": getTopics,
    		"normalize": normalize,
    	}
    
    	baseLayout := assets.ParseTemplate(template.New("base"), "templates/layouts/base.html")
    	baseLayout = baseLayout.Funcs(funcs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/cover/html.go

    	for i := 0; i < 11; i++ {
    		fmt.Fprintf(&buf, ".cov%v { color: %v }\n", i, rgb(i))
    	}
    	return template.CSS(buf.String())
    }
    
    var htmlTemplate = template.Must(template.New("html").Funcs(template.FuncMap{
    	"colors": colors,
    }).Parse(tmplHTML))
    
    type templateData struct {
    	Files []*templateFile
    	Set   bool
    }
    
    // PackageName returns a name for the package being shown.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/html/template/clone_test.go

    	if err == nil {
    		t.Error("expected 'no such template' error")
    	}
    }
    
    // https://golang.org/issue/5980
    func TestFuncMapWorksAfterClone(t *testing.T) {
    	funcs := FuncMap{"customFunc": func() (string, error) {
    		return "", errors.New("issue5980")
    	}}
    
    	// get the expected error output (no clone)
    	uncloned := Must(New("").Funcs(funcs).Parse("{{customFunc}}"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top