- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 816 for Ensure (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
import org.junit.jupiter.api.Test; /** * Tests for the Trans2QueryFSInformationResponse class. */ class Trans2QueryFSInformationResponseTest { /** * Tests the constructor to ensure it sets up the command and subcommand correctly. */ @Test void testConstructor() { Trans2QueryFSInformationResponse response =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8. Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`. {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} This would be similar to: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
cmd/bucket-encryption-handlers.go
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Call site replication hook. // // We encode the xml bytes as base64 to ensure there are no encoding // errors. cfgStr := base64.StdEncoding.EncodeToString(configData) replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{ Type: madmin.SRBucketMetaTypeSSEConfig,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/compression/README.md
# Compression Guide [](https://slack.min.io) MinIO server allows streaming compression to ensure efficient disk space usage. Compression happens inflight, i.e objects are compressed before being written to disk(s). MinIO uses [`klauspost/compress/s2`](https://github.com/klauspost/compress/tree/master/s2) streaming compression due to its stability and performance.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
munch(); } } private void munch() { Java8Compatibility.flip(buffer); while (buffer.remaining() >= chunkSize) { // we could limit the buffer to ensure process() does not read more than // chunkSize number of bytes, but we trust the implementations process(buffer); } buffer.compact(); // preserve any remaining data that do not make a full chunk }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertEquals(0, responseLength); } @Test void testMultipleReadDataWireFormatCalls() throws SMBProtocolDecodingException { // Test multiple calls to readDataWireFormat to ensure buffer is overwritten byte[] firstData = "First data set".getBytes(); byte[] secondData = "Second data set".getBytes(); byte[] buffer1 = new byte[100]; byte[] buffer2 = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
this.prefix = prefix; return this; } /** * Sets the attributes of the XML node. * <p> * The provided map will be copied to ensure immutability. * * @param attributes the map of attribute names to values * @return this builder instance */ public Builder attributes(Map<String, String> attributes) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jul 19 11:09:56 UTC 2025 - 18.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
for (int i = off; i < off + len; i++) { out.write(b[i]); } } else { out.write(b, off, len); } out.flush(); // for coverage } // TODO(chrisn): only works if we ensure we have crossed file threshold public void testWriteErrorAfterClose() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(50);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
setException(failure); } }; ExecutionException ee1 = getExpectingExecutionException(future); ExecutionException ee2 = getExpectingExecutionException(future); // Ensure we get a unique execution exception on each get assertNotSame(ee1, ee2); assertThat(ee1).hasCauseThat().isSameInstanceAs(failure); assertThat(ee2).hasCauseThat().isSameInstanceAs(failure);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
*/ // First, ensure that our classloaders are initializing the correct helper versions: checkHelperVersion(getClass().getClassLoader(), "AtomicReferenceFieldUpdaterAtomicHelper"); /* * Since we use AtomicReferenceFieldUpdaterAtomicHelper by default, we'll "obviously" use it * even when Unsafe isn't available. But it's nice to have a check here to make sure that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0)