Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 4,617 for New (0.04 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(fh.getFileId()).thenReturn(new byte[16]);
    
            // Setup for ioctl request
            when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp);
            when(ioctlResp.getOutputLength()).thenReturn(42);
    
            byte[] in = new byte[128];
            byte[] out = new byte[256];
    
            // Act
            int n = handle.sendrecv(out, 1, 10, in, 128);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

        private static final Logger logger = LogManager.getLogger(EmlExtractor.class);
    
        /** Properties used for mail processing */
        protected Properties mailProperties = new Properties();
    
        /**
         * Constructs a new EmlExtractor.
         */
        public EmlExtractor() {
            // Default constructor
        }
    
        /* (non-Javadoc)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
        assertSip("12345678", 0x02130609caea37ebL);
        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NodeStatusResponse.java

        NodeStatusResponse(final Configuration cfg, final NbtAddress queryAddress) {
            super(cfg);
            this.queryAddress = queryAddress;
            this.recordName = new Name(cfg);
            this.macAddress = new byte[6];
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-16BE", encoding);
        }
    
        public void test_getEncoding_none() {
            final InputStream in = new ByteArrayInputStream("<hoge></hoge>".getBytes());
            final BufferedInputStream bis = new BufferedInputStream(in);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertTrue(padding >= 0);
        }
    
        @Test
        @DisplayName("Test write operations")
        void testWriteOperations() {
            byte[] dst = new byte[1024];
    
            // Initialize transaction buffer to avoid NPE
            transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
    
            // Test parameter words wire format
            int paramWords = transaction.writeParameterWordsWireFormat(dst, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/TestReader.java

    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
        this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options));
      }
    
      public TestReader(TestInputStream in) {
        super(new InputStreamReader(checkNotNull(in), UTF_8));
        this.in = in;
      }
    
      public boolean closed() {
        return in.closed();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/TestReader.java

    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
        this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options));
      }
    
      public TestReader(TestInputStream in) {
        super(new InputStreamReader(checkNotNull(in), UTF_8));
        this.in = in;
      }
    
      public boolean closed() {
        return in.closed();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        this.nameFormat = nameFormat;
        return this;
      }
    
      /**
       * Sets daemon or not for new threads created with this ThreadFactory.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#daemon(boolean)} instead.
       *
       * @param daemon whether or not new Threads created with this ThreadFactory will be daemon threads
       * @return this for the builder pattern
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top