Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 4,617 for New (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            mockConfig = new BaseConfiguration(false);
            response = new NetServerEnum2Response(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
        void testConstructor() {
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      private transient AtomicLongArray longs;
    
      /**
       * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero.
       *
       * @param length the length of the array
       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        @Test
        public void testMultipleConverterInstances() throws IOException {
            // Test that multiple converter instances work independently
            ReadingConverter converter1 = new TestReadingConverter();
            ReadingConverter converter2 = new TestReadingConverter();
    
            converter1.init();
            converter2.init();
    
            String text = "test";
            String field = "content";
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      public void testCancel_interrupted() throws Exception {
        AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        CountDownLatch enterLatch = new CountDownLatch(1);
        CountDownLatch exitLatch = new CountDownLatch(1);
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor() {
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[7] = 0x08;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[31] = 0x20;
    
            AvSingleHost avSingleHost = new AvSingleHost(customData, machineId);
    
            assertNotNull(avSingleHost);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacTest.java

    class PacTest {
    
        private Map<Integer, KerberosKey> keys;
    
        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
            // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5
            KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(),
                    PacSignature.ETYPE_ARCFOUR_HMAC, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            // Given
            FileBasicInfo originalInfo =
                    new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES);
            byte[] buffer = new byte[64];
    
            // When - Encode
            int bytesEncoded = originalInfo.encode(buffer, 0);
    
            // When - Decode
            FileBasicInfo decodedInfo = new FileBasicInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            super.setUp();
            purgeDocJob = new PurgeDocJob();
    
            // Reset flags and variables
            deleteByQueryCalled = false;
            deleteIndex = null;
            deleteQuery = null;
            expiresFieldName = "expires";
            documentUpdateIndex = "fess.update";
    
            // Create mock SearchEngineClient
            searchEngineClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            when(config.getNotifyBufferSize()).thenReturn(8192);
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId);
            byte[] buffer = new byte[512];
            req.writeBytesWireFormat(buffer, 0);
    
            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, 8, readFileId, 0, 16);
            assertArrayEquals(fileId, readFileId);
        }
    
        @Test
    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