Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 922 for Given (0.02 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

                TestAllocInfo allocInfo = new TestAllocInfo(Long.MIN_VALUE, Long.MIN_VALUE);
    
                // When & Then
                assertEquals(Long.MIN_VALUE, allocInfo.getCapacity());
                assertEquals(Long.MIN_VALUE, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should calculate used space correctly")
            void shouldCalculateUsedSpaceCorrectly() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

       * ...);} to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
            @DisplayName("Should encode input parameters correctly")
            void testEncodeIn() throws NdrException {
                // Given: Close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // When: Encoding input
                message.encode_in(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("SmbResource should have all required methods")
            void testRequiredMethods() throws NoSuchMethodException {
                // Given
                Class<SmbResource> clazz = SmbResource.class;
    
                // When/Then - Verify essential methods exist
                assertNotNull(clazz.getMethod("getLocator"), "Should have getLocator method");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

     */
    class Trans2QueryPathInformationTest {
    
        /**
         * Tests the constructor of Trans2QueryPathInformation.
         */
        @Test
        void testConstructor() {
            // Given
            String filename = "testFile.txt";
            int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertEquals(DialectVersion.SMB300, context.getDialect(), "Should support SMB 3.0 dialect");
        }
    
        @Test
        @DisplayName("Should securely wipe encryption keys")
        void testSecureWipeKeys() {
            // Given
            byte[] originalEncKey = Arrays.copyOf(testEncryptionKey, testEncryptionKey.length);
            byte[] originalDecKey = Arrays.copyOf(testDecryptionKey, testDecryptionKey.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertTrue(request instanceof ServerMessageBlock2Request);
        }
    
        @Test
        @DisplayName("Should set DFS capability when enabled")
        void testDfsCapability() {
            // Given
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    
            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. CITATION.cff

        given-names: Lukasz
      - family-names: Kudlur
        given-names: Manjunath
      - family-names: Levenberg
        given-names: Josh
      - family-names: Mané
        given-names: Dan
      - family-names: Schuster
        given-names: Mike
      - family-names: Monga
        given-names: Rajat
      - family-names: Moore
        given-names: Sherry
      - family-names: Murray
        given-names: Derek
      - family-names: Olah
        given-names: Chris
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 06 15:26:23 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            void testConstructorZero() {
                // Given/When: Creating NdrShort with zero
                NdrShort ndrShort = new NdrShort(0);
    
                // Then: Value should be zero
                assertEquals(0, ndrShort.value);
            }
    
            @Test
            @DisplayName("Should handle maximum byte value correctly")
            void testConstructorMaxByte() {
                // Given/When: Creating NdrShort with max byte value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            request = new Smb2ChangeNotifyRequest(mockConfig, testFileId);
        }
    
        @Test
        @DisplayName("Should create request with configuration and file ID")
        void testConstructor() {
            // Given
            Configuration config = mock(Configuration.class);
            when(config.getNotifyBufferSize()).thenReturn(8192);
    
            // When
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top