- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for nextStdChunk (0.26 sec)
-
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) -
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)