- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 997 for read$3 (0.05 sec)
-
internal/crypto/key_test.go
package crypto import ( "bytes" "crypto/rand" "encoding/hex" "io" "testing" "github.com/minio/minio/internal/logger" ) var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) } func recoverTest(i int, shouldPass bool, t *testing.T) { if err := recover(); err == nil && !shouldPass { t.Errorf("Test %d should fail but passed successfully", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/s3select/jstream/scanner.go
fillReady: make(chan int64), } go func() { var rpos int64 // total bytes read into buffer defer func() { atomic.StoreInt64(&sr.end, rpos) close(sr.fillReady) }() for range sr.fillReq { scan: n, err := r.Read(sr.nbuf[:]) if n == 0 { switch err { case io.EOF: // reader is exhausted return case nil: // no data and no error, retry fill goto scan
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 2.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java
return StringUtil.EMPTY; } try (final Reader reader = new StringReader(str)) { return normalizeText(reader, initialCapacity, maxAlphanumTermSize, maxSymbolTermSize, removeDuplication); } catch (final IOException e) { return StringUtil.EMPTY; } } public static String normalizeText(final Reader reader, final int initialCapacity, final int maxAlphanumTermSize,
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8.2K bytes - Viewed (0) -
cmd/encryption-v1.go
reader, err := sio.DecryptReader(client, sio.Config{ Key: objectEncryptionKey, SequenceNumber: seqNumber, CipherSuites: fips.DARECiphers(), }) if err != nil { return nil, crypto.ErrInvalidCustomerKey } return reader, nil } // DecryptBlocksRequestR - same as DecryptBlocksRequest but with a // reader
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:06:08 UTC 2024 - 37.2K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
return nil } // readCRLF - check if reader only has '\r\n' CRLF character. // returns malformed encoding if it doesn't. func readCRLF(reader io.Reader) error { buf := make([]byte, 2) _, err := io.ReadFull(reader, buf[:2]) if err != nil { return err } if buf[0] != '\r' || buf[1] != '\n' { return errMalformedEncoding } return nil } // Read a line of bytes (up to \n) from b.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
fun visitClassFile(file: Path) { try { val reader = ClassReader(Files.newInputStream(file)) val details = classes[reader.className] details.visited = true val classWriter = ClassWriter(0) reader.accept( ClassRemapper( classWriter,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/bucket/lifecycle/setup_ilm_transition.sh
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
int i = 0; for (Path pom : state.poms) { try (InputStream is = Files.newInputStream(pom)) { MavenStaxReader reader = new MavenStaxReader(); reader.setAddLocationInformation(false); reader.read(is, true, new InputSource("id", pom.toString())); i++; } catch (XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
} public void testOpenStream() throws IOException { Reader reader = source.openStream(); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertExpectedString(writer.toString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
it.configure(dependencies.components, configurations) } } fun readCapabilities(source: File): List<CapabilitySpec> { JsonReader(source.reader(Charsets.UTF_8)).use { reader -> reader.isLenient = true return Gson().fromJson(reader) } } inline fun <reified T> Gson.fromJson(json: JsonReader): T = this.fromJson(json, object : TypeToken<T>() {}.type)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 20:15:18 UTC 2024 - 9.7K bytes - Viewed (0)