Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,535 for results (0.04 sec)

  1. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val result = Buffer()
        result.zstdCompress().buffer().use {
          it.write(this@zstdCompress)
        }
        return result.readByteString()
      }
    
      private fun ByteString.gzipCompress(): ByteString {
        val result = Buffer()
        (result as Sink).gzip().buffer().use {
          it.write(this@gzipCompress)
        }
        return result.readByteString()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

                    }
                    return null;
                }
            }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class));
    
            int result = smbRandomAccessFile.read();
            assertEquals(42, result);
            assertEquals(1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testReadEOF() throws SmbException {
            // Mock the read operation to return EOF
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific web configuration setting by ID.
         *
         * @param id the ID of the web configuration setting to retrieve
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
            if (length < MIN_COMPRESSION_SIZE) {
                log.debug("Data too small for compression ({} bytes), returning uncompressed", length);
                byte[] result = new byte[length];
                System.arraycopy(data, offset, result, 0, length);
                return result;
            }
            if (length > MAX_COMPRESSION_SIZE) {
                throw new CIFSException("Data too large for compression: " + length + " bytes");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
        @Override
        public byte[] getSinkContents() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            SuggestCreator.Options options = new SuggestCreator.Options();
            options.sessionId = null;
            options.propertiesPath = null;
    
            String result = options.toString();
            assertTrue(result.contains("sessionId=null"));
            assertTrue(result.contains("propertiesPath=null"));
        }
    
        // Test Options toString method
        public void test_Options_toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/ReferralTest.java

            String result = referral.toString();
    
            assertTrue(result.contains("Referral["));
            assertTrue(result.contains("version=3"));
            assertTrue(result.contains("size=200")); // updated size
            assertTrue(result.contains("serverType=1"));
            assertTrue(result.contains("flags=0"));
            assertTrue(result.contains("proximity=10"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/log/{id}
        /**
         * Deletes a failure URL log by ID.
         *
         * @param id the failure URL log ID to delete
         * @return JSON response with result status
         */
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

                guid[i] = (byte) i;
            }
            setPrivateField(response, "serverGuid", guid);
    
            // When
            byte[] result = response.getServerGuid();
    
            // Then
            assertArrayEquals(guid, result);
        }
    
        @Test
        @DisplayName("Should return selected dialect")
        void testGetSelectedDialect() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top