Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,889 for set2 (0.01 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SecurityInfo interface constants
     */
    class SecurityInfoTest {
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            totalKeyRotations.incrementAndGet();
            lastKeyRotationTime.set(System.currentTimeMillis());
        }
    
        /**
         * Get the current key rotation count
         *
         * @return number of times keys have been rotated
         */
        public int getKeyRotationCount() {
            return rotationCount;
        }
    
        /**
         * Set the key rotation bytes limit
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            assertNotNull(ioctlRequest, "Smb2IoctlRequest should implement RequestWithFileId");
            assertNotNull(lockRequest, "Smb2LockRequest should implement RequestWithFileId");
        }
    
        @Test
        @DisplayName("Should set file ID correctly in Smb2CloseRequest")
        void testSetFileIdInCloseRequest() {
            // Given
            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
            byte[] dst = new byte[100];
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
    
            // Set unicode to false
            Field useUnicodeField = ServerMessageBlock.class.getDeclaredField("useUnicode");
            useUnicodeField.setAccessible(true);
            useUnicodeField.setBoolean(smbComRename, false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. fuzzing/fuzzingserver-test.sh

      echo "Run 'pip install autobahntestsuite', maybe with 'sudo'."
      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    java -jar target/okhttp-tests-*-jar-with-dependencies.jar
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 673 bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

        }
    
        // Helper: reflectively set private/protected field on an object
        private static void setField(Object target, Class<?> declaring, String name, Object value) {
            try {
                Field f = declaring.getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

        @BeforeEach
        public void setUp() {
            smbComDelete = new SmbComDelete(TEST_FILE_NAME);
        }
    
        @Test
        public void testConstructor() {
            // Test if the constructor sets the file name and command correctly
            assertEquals(TEST_FILE_NAME, smbComDelete.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE, smbComDelete.command);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. fastapi/_compat/v2.py

        flat_validation_models = get_flat_models_from_fields(
            validation_fields, known_models=set()
        )
        flat_serialization_models = get_flat_models_from_fields(
            serialization_fields, known_models=set()
        )
        flat_validation_model_fields = [
            ModelField(
                field_info=FieldInfo(annotation=model),
                name=model.__name__,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

         * @throws Exception
         */
        @Test
        public void testSetArrayValue() throws Exception {
            final Object o = Array.newInstance(int.class, 3);
            Array.set(o, 0, Integer.valueOf(1));
            Array.set(o, 1, Integer.valueOf(2));
            Array.set(o, 2, Integer.valueOf(3));
            final int[] num = (int[]) o;
            assertArrayEquals(new int[] { 1, 2, 3 }, num);
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test encode with valid data")
        void testEncodeWithValidData() throws SMBProtocolDecodingException {
            // First decode to set internal state
            byte[] sourceBuffer = new byte[8];
            long expectedIndexNumber = 0x0123456789ABCDEFL;
            SMBUtil.writeInt8(expectedIndexNumber, sourceBuffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top