Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 8,438 for then (0.04 seconds)

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

            doNothing().when(messageBlock).setMid(mid);
            doNothing().when(messageBlock).setCommand(command);
            doNothing().when(messageBlock).setUid(uid);
            doNothing().when(messageBlock).setSessionId(sessionId);
            doNothing().when(messageBlock).setExtendedSecurity(true);
            doNothing().when(messageBlock).setDigest(digest);
            doNothing().when(messageBlock).setResponse(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbResourceTest.java

                // Given
                SmbResource resource = createMockResource();
                when(resource.exists()).thenReturn(true);
                when(resource.isFile()).thenReturn(true);
                when(resource.canWrite()).thenReturn(true);
    
                // When/Then
                assertTrue(resource.exists(), "Resource should exist");
                assertTrue(resource.isFile(), "Should be a file");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  4. src/test/java/jcifs/https/HandlerTest.java

            void testConstructorWithNullContext() {
                // When
                Handler testHandler = new Handler(null);
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
            @DisplayName("Should extend jcifs.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.http.Handler);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertEquals(DialectVersion.SMB311, dialect, "Should return the dialect set in constructor");
        }
    
        @Test
        @DisplayName("Should handle SMB 3.0 dialect")
        void testSMB300Dialect() {
            // When
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB300, testEncryptionKey, testDecryptionKey);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            when(mockConfig.isDfsDisabled()).thenReturn(false);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB202);
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            when(mockConfig.getMachineId()).thenReturn(testMachineId);
            when(mockConfig.getRandom()).thenReturn(mockRandom);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  7. docs/iam/policies/pbac-tests.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    pkill kes
    rm -rf /tmp/xl
    
    go install -v github.com/minio/mc@master
    cp -a $(go env GOPATH)/bin/mc ./mc
    
    if [ ! -f ./kes ]; then
    	wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 &&
    		chmod +x kes
    fi
    
    if ! openssl version &>/dev/null; then
    	apt install openssl || sudo apt install opensssl
    fi
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 25 01:15:27 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

         *    (whether it is NaN or infinity).
         * 3. If both the previous mean and the new value are non-finite and...
         * 3a. ...either or both is NaN (so mean != value) then the new mean is NaN.
         * 3b. ...they are both the same infinities (so mean == value) then the mean is unchanged.
         * 3c. ...they are different infinities (so mean != value) then the new mean is NaN.
         */
        if (isFinite(previousMean)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                int negativeValue = -1;
                NdrShort ndrShort = new NdrShort(0);
                when(mockBuffer.dec_ndr_short()).thenReturn(negativeValue);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
                // Then: Should set the negative value directly (no masking on decode)
                verify(mockBuffer).dec_ndr_short();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST");
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache
            when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
    
            // Create the name service client with mock context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top