Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Man (0.17 sec)

  1. src/bytes/example_test.go

    	fmt.Printf("%q\n", bytes.Split([]byte("a,b,c"), []byte(",")))
    	fmt.Printf("%q\n", bytes.Split([]byte("a man a plan a canal panama"), []byte("a ")))
    	fmt.Printf("%q\n", bytes.Split([]byte(" xyz "), []byte("")))
    	fmt.Printf("%q\n", bytes.Split([]byte(""), []byte("Bernardo O'Higgins")))
    	// Output:
    	// ["a" "b" "c"]
    	// ["" "man " "plan " "canal panama"]
    	// [" " "x" "y" "z" " "]
    	// [""]
    }
    
    func ExampleSplitN() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. cni/pkg/nodeagent/podcgroupns.go

    // The expected cgroup format is "hierarchy-ID:controller-list:cgroup-path", and
    // this function will return an error if every cgroup does not meet that format.
    //
    // For more information, see:
    //   - http://man7.org/linux/man-pages/man7/cgroups.7.html
    //   - https://www.kernel.org/doc/Documentation/cgroup-v2.txt
    func GetCgroups(procCgroupData bytes.Buffer) ([]Cgroup, error) {
    	reader := bytes.NewReader(procCgroupData.Bytes())
    	var cgroups []Cgroup
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    		// Marker is set to "obj1" in the testCase, (testCase 36).
    		12: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "obj2"},
    			},
    		},
    		// ListObjectsResult-13.
    		// Marker is set to "man" in the testCase, (testCase37).
    		13: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newPrefix0"},
    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	}
    
    	// Only interested in flushing the size_t not mtime/atime
    	if err = Fdatasync(w); err != nil {
    		w.Close()
    		return err
    	}
    
    	// Dealing with error returns from close() - 'man 2 close'
    	//
    	// A careful programmer will check the return value of close(), since it is quite possible that
    	// errors on a previous write(2) operation are reported only on the final close() that releases
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top