Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nextStdChunk (0.22 sec)

  1. src/time/export_test.go

    	SetMono                = (*Time).setMono
    	GetMono                = (*Time).mono
    	ErrLocation            = errLocation
    	ReadFile               = readFile
    	LoadTzinfo             = loadTzinfo
    	NextStdChunk           = nextStdChunk
    	Tzset                  = tzset
    	TzsetName              = tzsetName
    	TzsetOffset            = tzsetOffset
    )
    
    func LoadFromEmbeddedTZData(zone string) (string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 19:23:32 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. src/time/format_test.go

    }
    
    func TestNextStdChunk(t *testing.T) {
    	// Most bugs in Parse or Format boil down to problems with
    	// the exact detection of format chunk boundaries in the
    	// helper function nextStdChunk (here called as NextStdChunk).
    	// This test checks nextStdChunk's behavior directly,
    	// instead of needing to test it only indirectly through Parse/Format.
    
    	// markChunks returns format with each detected
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. src/time/format.go

    func startsWithLowerCase(str string) bool {
    	if len(str) == 0 {
    		return false
    	}
    	c := str[0]
    	return 'a' <= c && c <= 'z'
    }
    
    // nextStdChunk finds the first occurrence of a std string in
    // layout and returns the text before, the std string, and the text after.
    //
    // nextStdChunk should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top