Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 2,799 for Create (0.7 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_containingNull() {
        ArrayList<E> elements = new ArrayList<>(getSampleElements());
        elements.set(elements.size() / 2, null);
        collection = getSubjectGenerator().create(elements.toArray());
        List<E> other = new ArrayList<>(getSampleElements());
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should create with configuration only")
            void testConstructorWithConfig() {
                ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig);
                assertNotNull(msg);
                assertEquals(mockConfig, msg.getConfig());
                assertEquals(0, msg.getCommand());
            }
    
            @Test
            @DisplayName("Should create with configuration and command")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            attrExpiration = 0;
        }
    
        /**
         * Set the create time of the file. The time is specified as milliseconds
         * from Jan 1, 1970 which is the same as that which is returned by the
         * {@code createTime()} method.
         *
         * This method does not apply to workgroups, servers, or shares.
         *
         * @param time the create time as milliseconds since Jan 1, 1970
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CartesianList.java

    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
      private final transient ImmutableList<List<E>> axes;
      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      protected final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              new Callable<Integer>() {
                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            assertEquals("", emptyEvent.getEventType());
        }
    
        // Test multiple implementations
        public void test_multipleImplementations() {
            // Create different implementations
            SearchLogEvent event1 = new TestSearchLogEvent("id1", 1L, "type1");
            SearchLogEvent event2 = new NullSearchLogEvent();
            SearchLogEvent event3 = new EmptySearchLogEvent();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // Set up test values
            int namedPipeState = 0x03;
            int readDataAvailable = dataSize;
            int numberOfMessages = 10;
            int messageLength = 100;
    
            // Create test data pattern
            byte[] testData = new byte[dataSize];
            for (int i = 0; i < dataSize; i++) {
                testData[i] = (byte) (i % 256);
            }
    
            // Write values to buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. docs/smb3-features/03-multi-channel-design.md

            NetworkInterfaceInfo localIf = selectLocalInterface(index);
            NetworkInterfaceInfo remoteIf = selectRemoteInterface(index);
            
            // Create transport for this channel
            SmbTransport transport = createTransport(localIf, remoteIf);
            
            // Create channel info
            String channelId = "channel-" + channelCounter.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
            getList().lastIndexOf(e0()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top