Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 3,261 for avoid (0.02 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("Textual constructor null throws NullPointerException")
            void testTextualConstructorNull() {
                assertThrows(NullPointerException.class, () -> new SID((String) null));
            }
    
            @Test
            @DisplayName("Binary constructor happy path and round-trip via toByteArray")
            void testBinaryConstructorAndToByteArray() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckPositive_maxLong() {
        MathPreconditions.checkPositive("long", Long.MAX_VALUE);
      }
    
      public void testCheckPositive_minLong() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkPositive("long", Long.MIN_VALUE));
      }
    
      public void testCheckPositive_positiveLong() {
        MathPreconditions.checkPositive("long", 1);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

    import jcifs.internal.smb2.persistent.Smb2HandleCapabilities;
    
    /**
     * Test class for durable handle create context implementations
     */
    public class DurableHandleContextTest {
    
        @Test
        public void testDurableHandleRequest() {
            DurableHandleRequest request = new DurableHandleRequest();
    
            assertEquals("DHnQ", new String(request.getName()));
            assertTrue(request.size() > 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA));
            System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' }));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
            final byte[] decodedData = Base64Util.decode(ENCODED_DATA);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        private NtTransNotifyChangeResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new NtTransNotifyChangeResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor creates instance with empty notification list")
        void testConstructor() {
            assertNotNull(response);
            assertNotNull(response.getNotifyInformation());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

      }
    
      public void testIntersection() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
                .add(Range.open(6, 7))
                .add(Range.singleton(8))
                .build();
    
        assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testDifference() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

    public class netdfsTest {
    
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            mockNdrBuffer = mock(NdrBuffer.class);
        }
    
        @Test
        void testGetSyntax() {
            assertEquals("4fc742e0-4a10-11cf-8273-00aa004ae673:3.0", netdfs.getSyntax());
        }
    
        @Test
        void testDfsInfo1_EncodeDecode() throws NdrException {
            netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * #monitor}.
       */
      private void dispatchListenerEvents() {
        if (!monitor.isOccupiedByCurrentThread()) {
          listeners.dispatch();
        }
      }
    
      private void enqueueStartingEvent() {
        listeners.enqueue(STARTING_EVENT);
      }
    
      private void enqueueRunningEvent() {
        listeners.enqueue(RUNNING_EVENT);
      }
    
      private void enqueueStoppingEvent(State from) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            bufferManager = new RdmaBufferManager(mockProvider);
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (bufferManager != null) {
                bufferManager.cleanup();
            }
            if (mocks != null) {
                mocks.close();
            }
        }
    
        @Test
        public void testGetSendRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getSendRegion(1024);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        }
    
        /**
         * Set the data.
         * @param data the byte array data to set
         */
        public void setData(final byte[] data) {
            this.data = data;
        }
    
        /**
         * Add a child URL.
         * @param url the request data to add to the child URL set
         */
        public void addUrl(final RequestData url) {
            childUrlSet.add(url);
        }
    
        /**
         * Add child URLs.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top