Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 5,478 for newA (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Test with all zeros
            byte[] zeroFileId = new byte[16];
            Smb2FlushRequest zeroRequest = new Smb2FlushRequest(mockConfig, zeroFileId);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
            // Test with all ones
            byte[] onesFileId = new byte[16];
            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. 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";
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. 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,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        void testWriteBytesWireFormatFileIdCopy() {
            setupMockConfig();
            byte[] customFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                customFileId[i] = (byte) i;
            }
    
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, customFileId);
            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. 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.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

        public String formatProgress(long progressedSize, long size) {
            StringBuilder sb = new StringBuilder();
            formatProgress(sb, progressedSize, size);
            return sb.toString();
        }
    
        public void formatProgress(StringBuilder builder, long progressedSize, long size) {
            if (progressedSize < 0L) {
                throw new IllegalArgumentException("progressed file size cannot be negative: " + size);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test setFileId method")
        void testSetFileId() {
            request = new Smb2QueryInfoRequest(mockConfig);
            byte[] newFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                newFileId[i] = (byte) (i + 10);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    highlightedQuerySet = new HashSet<>();
                    request.setAttribute(Constants.HIGHLIGHT_QUERIES, highlightedQuerySet);
                    fieldLogMap = (Map<String, List<String>>) request.getAttribute(Constants.FIELD_LOGS);
                    if (fieldLogMap == null) {
                        fieldLogMap = new HashMap<>();
                        request.setAttribute(Constants.FIELD_LOGS, fieldLogMap);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

            // Create a stream that will cause an encoding error
            final InputStream errorStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Simulated read error");
                }
            };
    
            try {
                extractor.getText(errorStream, null);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/bs/BsGroupCA.java

            GroupCQ cq = new GroupCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                GroupCA ca = new GroupCA();
                aggsLambda.callback(ca);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.7K bytes
    - Click Count (0)
Back to Top