- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 914 for readFn (0.04 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 6.7K 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 8.2K bytes - Viewed (0) -
docs/releasing.md
sed -i "" \ "s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \ `find . -name "README.md"` sed -i "" \ "s/\/com.squareup.okhttp3\/\([^\:]*\)\/[^\/]*\//\/com.squareup.okhttp3\/\1\/$RELEASE_VERSION\//g" \ `find . -name "README.md"` git commit -am "Prepare for release $RELEASE_VERSION." git tag -a parent-$RELEASE_VERSION -m "Version $RELEASE_VERSION"Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 19 15:45:22 UTC 2025 - 1.1K bytes - Viewed (0) -
internal/crypto/sse.go
return key, err } // EncryptSinglePart encrypts an io.Reader which must be the // body of a single-part PUT request. func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader { r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:]}) if err != nil { logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key")) } return r }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
} // Fill the receive buffer without holding any locks. val read = source.read(receiveBuffer, remainingByteCount) if (read == -1L) throw EOFException() remainingByteCount -= read // Move the received data to the read buffer to the reader can read it. If this source has // been closed since this read began we must discard the incoming data and tell the // connection we've done so.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
} @Nonnull default T read(@Nonnull InputStream input, boolean strict) throws XmlReaderException { return read(XmlReaderRequest.builder().inputStream(input).strict(strict).build()); } @Nonnull default T read(@Nonnull Reader reader) throws XmlReaderException { return read(reader, true); } @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.9K bytes - Viewed (0) -
cmd/tier.go
} // Note: Local variables with names ek, oek, etc are named inline with // acronyms defined here - // https://github.com/minio/minio/blob/master/docs/security/README.md#acronyms // Encrypt json encoded tier configurations metadata := make(map[string]string)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
} public interface ReaderSupplier { Reader open() throws IOException; } /** * @deprecated use {@link #build(ReaderSupplier)} */ @Deprecated public PluginDescriptor build(Reader reader) throws PlexusConfigurationException { return build(reader, null); } /** * @deprecated use {@link #build(ReaderSupplier, String)} */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
*/ public class LineIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("aaa")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("bbb"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0)