Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 4,619 for _new (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/SetViewTest.java

            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        // Put the sets in different orders for the hell of it
                        return union(
                            new LinkedHashSet<>(asList(elements[0], elements[1], elements[2])),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

            SmbAuthentication smbAuthentication;
    
            smbAuthentication = new SmbAuthentication();
            assertEquals("smb1://", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb1://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
    
            // Create updater with a new item
            ProtwordsItem newItem = new ProtwordsItem(0, "testNew");
            ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem);
    
            // Write an existing item (should pass through)
            ProtwordsItem existingItem = new ProtwordsItem(10, "existing");
            ProtwordsItem result = updater.write(existingItem);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getOsddLinkEnabled() {
                    return "auto";
                }
    
                @Override
                public String getSsoType() {
                    return "none";
                }
            });
            final OsddHelper osddHelper = new OsddHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        testSortDescending(new byte[] {}, 0, 0, new byte[] {});
        testSortDescending(new byte[] {1}, 0, 1, new byte[] {1});
        testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1});
        testSortDescending(new byte[] {-1, -2, 1, 2}, 1, 3, new byte[] {-1, 1, -2, 2});
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] emptyFileId = new byte[16];
                assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, emptyFileId));
            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
            @DisplayName("Should set file ID correctly")
            void testSetFileId() {
                byte[] newFileId = new byte[16];
                new SecureRandom().nextBytes(newFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test with empty data")
        void testWithEmptyData() {
            // Given
            byte[] emptyData = new byte[0];
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, emptyData, 0, 0);
            byte[] dst = new byte[10];
    
            // When
            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

            return asJson(new ApiResult.ApiConfigResponse().setting(roleService.getRole(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Creates a new role setting.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        void multipleWriteBodyWireFormat_shouldProduceSameResult() {
            // Arrange
            Name realName = new Name(mockConfig, "SERVER", 0x20, "domain.local");
            nodeStatusRequest = new NodeStatusRequest(mockConfig, realName);
            byte[] dst1 = new byte[100];
            byte[] dst2 = new byte[100];
    
            // Act
            int result1 = nodeStatusRequest.writeBodyWireFormat(dst1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
        AtomicInteger totalCalls = new AtomicInteger();
        Runnable intCounter =
            new Runnable() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top