- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tokenbuf (0.08 sec)
-
src/text/scanner/scanner.go
s.tokEnd = s.tokPos } // s.tokEnd >= s.tokPos if s.tokBuf.Len() == 0 { // common case: the entire token text is still in srcBuf return string(s.srcBuf[s.tokPos:s.tokEnd]) } // part of the token text was saved in tokBuf: save the rest in // tokBuf as well and return its content s.tokBuf.Write(s.srcBuf[s.tokPos:s.tokEnd]) s.tokPos = s.tokEnd // ensure idempotency of TokenText() call
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
TypeToken<First<String>> tokenF = new TypeToken<First<String>>() {}; assertTrue(tokenF.isSupertypeOf(new TypeToken<Second<String>>() {})); assertTrue(tokenF.isSupertypeOf(new TypeToken<Third<String, Integer>>() {})); assertFalse(tokenF.isSupertypeOf(new TypeToken<Third<Integer, String>>() {})); assertTrue(tokenF.isSupertypeOf(new TypeToken<Fourth<Integer, String>>() {}));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 88.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
TypeToken<First<String>> tokenF = new TypeToken<First<String>>() {}; assertTrue(tokenF.isSupertypeOf(new TypeToken<Second<String>>() {})); assertTrue(tokenF.isSupertypeOf(new TypeToken<Third<String, Integer>>() {})); assertFalse(tokenF.isSupertypeOf(new TypeToken<Third<Integer, String>>() {})); assertTrue(tokenF.isSupertypeOf(new TypeToken<Fourth<Integer, String>>() {}));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 88.7K bytes - Viewed (0)