- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,330 for reaper (0.07 seconds)
-
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
CharSequenceReader reader = new CharSequenceReader(string); assertTrue(reader.markSupported()); assertThat(readFully(reader)).isEqualTo(string); assertFullyRead(reader); // reset and read again reader.reset(); assertThat(readFully(reader)).isEqualTo(string); assertFullyRead(reader); // reset, skip, mark, then read the rest reader.reset(); assertEquals(5, reader.skip(5));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
Comparator<T> comparator) { return new LexicographicalOrdering<S>(checkNotNull(comparator)); } /** * Returns {@code true} if each element in {@code iterable} after the first is greater than or * equal to the element that preceded it, according to the specified comparator. Note that this is * always true when the iterable has fewer than two elements. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
docs/debugging/inspect/decrypt-v2.go
"fmt" "io" "os" "path/filepath" "strings" "unicode/utf8" "github.com/minio/madmin-go/v3/estream" ) type keepFileErr struct { error } func extractInspectV2(pks [][]byte, r io.Reader, extractDir string) error { sr, err := estream.NewReader(r) if err != nil { return err } for _, pk := range pks { privKey, err := bytesToPrivateKey(pk) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 2.3K bytes - Click Count (0) -
src/cmd/asm/internal/lex/tokenizer.go
// for our purposes and made a TokenReader. It forms the lowest level, // turning text from readers into tokens. type Tokenizer struct { tok ScanToken s *scanner.Scanner base *src.PosBase line int file *os.File // If non-nil, file descriptor to close. } func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer { var s scanner.Scanner s.Init(r)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/first-steps.md
- 但該端點需要驗證。 - 因此為了向 API 驗證,請求會帶上一個 `Authorization` 標頭,值為 `Bearer ` 加上 token。 - 例如 token 是 `foobar`,則 `Authorization` 標頭內容為:`Bearer foobar`。 ## FastAPI 的 `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer } FastAPI 提供多層抽象的工具來實作這些安全機制。 本例將使用 OAuth2 的 Password 流程,並以 Bearer token 進行驗證;我們會用 `OAuth2PasswordBearer` 類別來完成。 /// info 「Bearer」token 不是唯一選項。 但對本例最合適。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/first-steps.md
* 因此,为了与我们的 API 进行身份验证,它会发送一个 `Authorization` 请求头,值为 `Bearer ` 加上令牌。 * 如果令牌内容是 `foobar`,`Authorization` 请求头的内容就是:`Bearer foobar`。 ## **FastAPI** 的 `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer } **FastAPI** 在不同抽象层级提供了多种安全工具。 本示例将使用 **OAuth2** 的 **Password** 流程并配合 **Bearer** 令牌,通过 `OAuth2PasswordBearer` 类来实现。 /// info | 信息 “Bearer” 令牌并非唯一选项。 但它非常适合我们的用例。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.5K bytes - Click Count (0) -
cmd/bucket-metadata.go
if err != nil { return output, metabytes, err } outbuf := bytes.NewBuffer(nil) objectKey := crypto.GenerateKey(key.Plaintext, rand.Reader) sealedKey := objectKey.Seal(key.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3.String(), bucket, "") crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
cmd/object-api-utils_test.go
func TestExcludeForCompression(t *testing.T) { testCases := []struct { object string header http.Header result bool }{ { object: "object.txt", header: http.Header{ "Content-Type": []string{"application/zip"}, }, result: true, }, { object: "object.zip", header: http.Header{ "Content-Type": []string{"application/XYZ"}, }, result: true, }, {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
public static Iterable<String> iterable(final BufferedReader reader) { assertArgumentNotNull("reader", reader); return () -> new LineIterator(reader); } /** * Constructs an instance. * * @param reader * The {@link Reader} to read strings from. Must not be {@literal null}. */ public LineIterator(final Reader reader) { assertArgumentNotNull("reader", reader);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
return (InputSource) value; } private Model read(Reader reader, boolean strict, InputSource source) throws IOException { try { if (source != null) { return new MavenXpp3ReaderEx().read(reader, strict, source); } else { return new MavenXpp3Reader().read(reader, strict); } } catch (XmlPullParserException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.4K bytes - Click Count (0)