Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for Colon (0.08 sec)

  1. src/time/example_test.go

    	fmt.Println("Same, in UTC:", t.UTC().Format(time.UnixDate))
    
    	fmt.Println("in Shanghai with seconds:", t.In(tz).Format("2006-01-02T15:04:05 -070000"))
    
    	fmt.Println("in Shanghai with colon seconds:", t.In(tz).Format("2006-01-02T15:04:05 -07:00:00"))
    
    	// The rest of this function demonstrates the properties of the
    	// layout string used in the format.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/CoreJavadocOptions.java

         * You can specify an absolute path or a path relative to the current directory. If classpathlist contains multiple paths or jar files,
         * they should be separated with a colon (:) on Solaris and a semi-colon (;) on Windows.
         * This option is not necessary if the doclet starting class is already in the search path.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  3. cluster/gce/windows/testonly/install-ssh.psm1

      foreach($line in $tuples) {
        if ([string]::IsNullOrEmpty($line)) {
          continue
        }
        # The final parameter to -Split is the max number of strings to return, so
        # this only splits on the first colon.
        $username, $key = $line -Split ":",2
    
        # Detect and skip keys without associated usernames, which may come back
        # from the legacy sshKeys metadata.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 05:09:18 UTC 2021
    - 11.6K bytes
    - Viewed (0)
  4. src/go/printer/testdata/comments.input

    //line foo:2
    	_ = 1
    
    // The following is not a legal line directive (it doesn't start in column 1):
    	//line foo:2
    	_ = 2
    
    // The following is not a legal line directive (missing colon):
    //line foo -3
    	_ = 3
    }
    
    // Line comments with tabs
    func _() {
    var	finput		*bufio.Reader			// input file
    var	stderr		*bufio.Writer
    var	ftable		*bufio.Writer			// y.go file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  5. src/go/printer/testdata/comments.golden

    //line foo:2
    	_ = 1
    
    	// The following is not a legal line directive (it doesn't start in column 1):
    	//line foo:2
    	_ = 2
    
    	// The following is not a legal line directive (missing colon):
    //line foo -3
    	_ = 3
    }
    
    // Line comments with tabs
    func _() {
    	var finput *bufio.Reader	// input file
    	var stderr *bufio.Writer
    	var ftable *bufio.Writer	// y.go file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  6. pkg/test/echo/server/endpoint/http.go

    			break
    		}
    		position += flavor.slices
    	}
    
    	response.WriteHeader(responseCode)
    	return responseCode, nil
    }
    
    // codes must be comma-separated HTTP response code, colon, positive integer
    func validateCodes(codestrings string) ([]codeAndSlices, error) {
    	if codestrings == "" {
    		// Consider no codes to be "200:1" -- return HTTP 200 100% of the time.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    			needle := `status.conditions[2].type: Duplicate value: "First"`
    			if !hasError(errs, needle) {
    				t.Errorf("missing %q in\n%v", needle, errorsAsString(errs))
    			}
    		},
    	}, {
    		name: "colon-allowed-in-reason",
    		conditions: []metav1.Condition{{
    			Type:   "First",
    			Reason: "valid:val",
    		}},
    		validateErrs: func(t *testing.T, errs field.ErrorList) {
    			needle := `status.conditions[0].reason`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. src/encoding/json/stream.go

    		}
    		dec.scanp++
    		dec.tokenState = tokenArrayValue
    	case tokenObjectColon:
    		c, err := dec.peek()
    		if err != nil {
    			return err
    		}
    		if c != ':' {
    			return &SyntaxError{"expected colon after object key", dec.InputOffset()}
    		}
    		dec.scanp++
    		dec.tokenState = tokenObjectValue
    	}
    	return nil
    }
    
    func (dec *Decoder) tokenValueAllowed() bool {
    	switch dec.tokenState {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/codehost/codehost.go

    	// that one checkout is never nested inside another. That nesting has
    	// led to security problems in the past.
    	if strings.Contains(typ, ":") {
    		return "", "", fmt.Errorf("codehost.WorkDir: type cannot contain colon")
    	}
    	key := typ + ":" + name
    	dir = filepath.Join(cfg.GOMODCACHE, "cache/vcs", fmt.Sprintf("%x", sha256.Sum256([]byte(key))))
    
    	xLog, buildX := cfg.BuildXWriter(ctx)
    	if buildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. src/encoding/json/stream_test.go

    		}},
    		{CaseName: Name(""), json: `{ "` + strings.Repeat("a", 513) + `" 1 }`, expTokens: []any{
    			Delim('{'), strings.Repeat("a", 513),
    			decodeThis{&SyntaxError{"expected colon after object key", 518}},
    		}},
    		{CaseName: Name(""), json: `{ "\a" }`, expTokens: []any{
    			Delim('{'),
    			&SyntaxError{"invalid character 'a' in string escape code", 3},
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top