Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 750 for ensures (0.05 seconds)

  1. 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 =
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. 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,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  4. docs/compression/README.md

    # Compression Guide [![Slack](https://slack.min.io/slack?type=svg)](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.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setExtendedSecurity(false);
                // Method is empty, just ensure no exception
            }
    
            @Test
            @DisplayName("Should ignore UID setting")
            void testSetUid() {
                testMessage.setUid(123);
                // Method is empty, just ensure no exception
            }
        }
    
        @Nested
        @DisplayName("Equals and HashCode Tests")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  6. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. docs/bucket/replication/DESIGN.md

    `COMPLETED` only after the replication operation succeeds on each of the targets specified in the replication configuration. If multiple targets are configured to use active-active replication and multi destination replication, the administrator should ensure that the replication features enabled (such as replica metadata sync, delete marker replication etc) are identical to avoid asymmetric state. This is because all replication activity is inherently a one-way operation from source to target, irrespective...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  8. 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];
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          Map<Object, Integer> indexByLock = new HashMap<>();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
          }
    
          // ensure that bulkGet returns locks in monotonically increasing order
          for (int objectsNum = 1; objectsNum <= striped.size() * 2; objectsNum++) {
            Set<Object> objects = Sets.newHashSetWithExpectedSize(objectsNum);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          Map<Object, Integer> indexByLock = new HashMap<>();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
          }
    
          // ensure that bulkGet returns locks in monotonically increasing order
          for (int objectsNum = 1; objectsNum <= striped.size() * 2; objectsNum++) {
            Set<Object> objects = Sets.newHashSetWithExpectedSize(objectsNum);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top