Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for ParseDuration (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // - password: any kind of string
      // - date: a date string like "2006-01-02" as defined by full-date in RFC3339
      // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format
      // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
      optional string format = 6;
    
      optional string title = 7;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    	}
    	in.Close()
    
    	b := <-outc
    	if !bytes.Equal(b, []byte(msg)) {
    		t.Fatalf("read %q from stdout pipe; want %q", b, msg)
    	}
    }
    
    func cmdHang(args ...string) {
    	sleep, err := time.ParseDuration(args[0])
    	if err != nil {
    		panic(err)
    	}
    
    	fs := flag.NewFlagSet("hang", flag.ExitOnError)
    	exitOnInterrupt := fs.Bool("interrupt", false, "if true, commands should exit 0 on os.Interrupt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top