Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 4,619 for _new (0.17 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertThrows(SmbException.class, () -> new SMB1SigningDigest(mockTransport, mockAuth));
        }
    
        @Test
        @DisplayName("Test update method with valid data")
        void testUpdateWithValidData() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                throw new CIFSException("Invalid offset or length");
            }
            if (!isAlgorithmSupported(algorithm)) {
                throw new CIFSException("Unsupported compression algorithm: " + algorithm);
            }
            if (length < MIN_COMPRESSION_SIZE) {
                log.debug("Data too small for compression ({} bytes), returning uncompressed", length);
                byte[] result = new byte[length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            // Test with boolean parameter
            Map<String, Object> booleanParams = new HashMap<>();
            booleanParams.put("boolean", true);
            assertNotNull(queryRescorer.evaluate(booleanParams));
    
            // Test with unknown parameter
            Map<String, Object> unknownParams = new HashMap<>();
            unknownParams.put("unknown", new Object());
            assertNull(queryRescorer.evaluate(unknownParams));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertEquals(0, msg.writeBytesWireFormat(null, index));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, -1, 7 })
        @DisplayName("readParameterWordsWireFormat always returns 0")
        void readParameterWordsWireFormatReturnsZero(int index) {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertEquals(0, msg.readParameterWordsWireFormat(new byte[5], index));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

    public class CurlHelperTest extends UnitFessTestCase {
    
        private CurlHelper curlHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            curlHelper = new CurlHelper();
        }
    
        public void test_get() {
            // Mock FessConfig and ResourceUtil
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. docs/smb3-features/03-multi-channel-design.md

            this.lastActivityTime = establishedTime;
            
            this.bytesSent = new AtomicLong();
            this.bytesReceived = new AtomicLong();
            this.requestsSent = new AtomicLong();
            this.requestsReceived = new AtomicLong();
            this.errors = new AtomicLong();
            
            this.isPrimary = false;
        }
        
        public void updateActivity() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, -1, Integer.MIN_VALUE, null);
            assertEquals(Integer.MIN_VALUE, problem.getColumnNumber());
        }
    
        @Test
        void testGetException() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
            assertNull(problem.getException());
    
            Exception e = new Exception();
            problem = new DefaultProblem(null, null, null, -1, -1, e);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            @Override
            public InputStream getInputStream() throws IOException {
                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            throw new UnsupportedOperationException(msg);
        }
    
        @Override
        protected <RESULT extends Entity> ListResultBean<RESULT> createListResultBean(final ConditionBean cb, final List<RESULT> selectedList) {
            if (selectedList instanceof EsPagingResultBean) {
                return (ListResultBean<RESULT>) selectedList;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top