Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,117 for EXPECTED (1.91 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

            Request(
              url = server.url("/"),
              body = requestBody,
            ),
          )
    
        assertFailsWith<IOException> {
          callA.execute()
        }.also { expected ->
          assertThat(expected).hasMessage("boom")
        }
    
        assertThat(server.requestCount).isEqualTo(0)
    
        // Confirm that the connection pool was not corrupted by making another call. This doesn't use
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

                    | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_ALWAYS_SIGN | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH;
            // Verify exactly the expected bits are set
            assertEquals(expectedFlags, context.ntlmsspFlags);
        }
    
        @Test
        void testConstructor_withoutSigning() {
            // Test constructor when signing is disabled
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            secureRandom.nextBytes(incorrectHash);
    
            try {
                preauthService.validatePreauthIntegrity(sessionId, incorrectHash);
                fail("Expected CIFSException");
            } catch (CIFSException e) {
                // Expected
            }
    
            assertFalse(context.isValid());
    
            // Further operations on invalid context should fail
            assertThrows(CIFSException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/NetworkBuilder.java

       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) {
        this.allowsSelfLoops = allowsSelfLoops;
        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the network.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            if (structureSize == 9) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
            if (structureSize != 49) {
                throw new SMBProtocolDecodingException("Expected structureSize = 49");
            }
            bufferIndex += 4;
            this.ctlCode = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.fileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. docs/iam/access-management-plugin.md

          ],
          "versionid": [
            ""
          ]
        },
        "owner": true,
        "object": "",
        "claims": {},
        "denyOnly": false
      }
    }
    ```
    
    </details>
    
    The response expected by MinIO, is a JSON body with a boolean:
    
    ```json
    {
        "result": true
    }
    ```
    
    The following structure is also accepted:
    
    ```json
    {
        "result": {
            "allow": true
        }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/pac/PacConstantsTest.java

     * This test class verifies that the constant values defined in PacConstants are correct.
     */
    class PacConstantsTest {
    
        /**
         * Tests that the constant values in the PacConstants interface match their expected values.
         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                fileFsSizeInfo.decode(buffer.array(), 0, 24);
                String result = fileFsSizeInfo.toString();
    
                // Then
                String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]";
                assertEquals(expected, result);
            }
    
            @Test
            @DisplayName("Should handle negative values in toString")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

       * #setCount(Object, int)}, provided that the element has the expected current count. If the
       * current count is not {@code oldCount}, no change is made.
       *
       * @param element the element to conditionally set the count of; may be null only if explicitly
       *     allowed by the implementation
       * @param oldCount the expected present count of the element in this multiset
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
        Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap();
        assertTrue(map instanceof ConcurrentHashMap);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top