Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 399 for 8100 (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java

      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positiveDoubles[i] = randomPositiveDouble();
          doubles[i] = randomDouble(Long.SIZE);
          factorials[i] = RANDOM_SOURCE.nextInt(100);
        }
      }
    
      @Benchmark
      long log2(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

            super();
        }
    
        /**
         * Returns the path prefix for SMB1 URLs.
         * @return The path prefix.
         */
        public String getPathPrefix() {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("smb1://");
            if (server != null) {
                buf.append(server);
                if (port > 0) {
                    buf.append(':');
                    buf.append(port);
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            this.informationLevel = informationLevel;
            this.totalParameterCount = 2;
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 800;
            this.maxSetupCount = 0;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
            int bytesWritten = smbCom.writeBytesWireFormat(dst, 0);
    
            assertEquals(expected.length, bytesWritten, "Number of bytes written should match expected length.");
    
            byte[] actual = new byte[bytesWritten];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java

        }
    
        public void test_getText_maxSize() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/zip/test.zip")) {
                zipExtractor.setMaxContentSize(100);
                zipExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            zipExtractor.setMaxContentSize(-1);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            @BeforeEach
            void setupBuffer() {
                // Create buffer with 3 v1 referrals
                byte[] testBuffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                // Header
                bb.putShort((short) 100); // pathConsumed
                bb.putShort((short) 3); // numReferrals
                bb.putShort((short) 25); // tflags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .callTimeout(Duration.ofMillis(100))
            .build()
        newWebSocket()
        clientListener.assertFailure(InterruptedIOException::class.java, "timeout")
      }
    
      @Test
      @Throws(Exception::class)
      fun callTimeoutDoesNotApplyOnceConnected() {
        client =
          client
            .newBuilder()
            .callTimeout(Duration.ofMillis(100))
            .build()
        webServer.enqueue(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingExecutorService}.
     *
     * @author Kurt Alfred Kluever
     * @since 10.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ForwardingExecutorService extends ForwardingObject
        implements ExecutorService {
      /** Constructor for use by subclasses. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

            "Client Error",
            "Server Error",
            "Mock Response",
          )
        for (i in 0..599) {
          val response = MockResponse().setResponseCode(i)
          val expectedReason = reasons[i / 100]
          assertThat(response.status).isEqualTo("HTTP/1.1 $i $expectedReason")
          assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top