- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tokenbuf (0.17 sec)
-
internal/jwt/parser.go
} bufp := base64BufPool.Get().(*[]byte) defer base64BufPool.Put(bufp) tokenBuf := base64BufPool.Get().(*[]byte) defer base64BufPool.Put(tokenBuf) token := *tokenBuf // Copy token to buffer, truncate to length. token = token[:copy(token[:base64BufferSize], tokenStr)] signer, err := ParseUnverifiedStandardClaims(token, claims, *bufp)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 09 07:53:08 UTC 2023 - 13.9K bytes - Viewed (0) -
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)