Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,159 for startOf (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            void returnsFour_whenStructureSizeIsFour(int start) throws Exception {
                // Arrange: build a buffer that has the little-endian value 4 at 'start'
                int len = start + 2; // need at least two bytes from start
                byte[] buffer = new byte[len + 3];
                SMBUtil.writeInt2(4, buffer, start);
                Smb2LogoffResponse resp = newResponse();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, buf, start, SMBUtil.SMB2_HEADER.length);
            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

        final int[] array;
        final int start;
        final int end;
    
        IntArrayAsList(int[] array) {
          this(array, 0, array.length);
        }
    
        IntArrayAsList(int[] array, int start, int end) {
          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = this.headerStart = dstIndex;
            dstIndex += writeHeaderWireFormat(dst, dstIndex);
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex);
            dstIndex += this.byteCount;
            dstIndex += pad8(dstIndex);
    
            this.length = dstIndex - start;
    
            int len = this.length;
    
            if (this.next != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         */
        @PostConstruct
        public void init() {
            if (officeManager == null) {
                throw new CrawlerSystemException("officeManager is null.");
            }
            try {
                officeManager.start();
            } catch (final OfficeException e) {
                throw new CrawlerSystemException("Failed to start officeManager.", e);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. mockwebserver-junit5/README.md

    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.1.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 665 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE);
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) (this.replaceIfExists ? 1 : 0);
            dstIndex += 8; // 7 Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Test
        public void testPerformance() throws Exception {
            final int num = 100;
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                System.out.println("test" + i);
            }
            final long sysout = System.currentTimeMillis() - start;
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                logger.fatal("test" + i);
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            if (ownerUOffset > 0) {
                bufferIndex = start + ownerUOffset;
                this.ownerUserSid = new SID(buffer, bufferIndex);
                bufferIndex += 8 + 4 * this.ownerUserSid.sub_authority_count;
            }
    
            if (ownerGOffset > 0) {
                bufferIndex = start + ownerGOffset;
                this.ownerGroupSid = new SID(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top