Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for 05 (0.01 sec)

  1. src/test/java/org/codelibs/fess/query/QueryTestBase.java

                }
    
                @Override
                public String getQueryBoostTitle() {
                    return "0.5";
                }
    
                @Override
                public BigDecimal getQueryBoostTitleAsDecimal() {
                    return new BigDecimal("0.5");
                }
    
                @Override
                public String getQueryBoostContent() {
                    return "0.05";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_1x.md

       `X-Android-Selected-Transport` to read the negotiated transport.
    
    
    ## Version 1.0.2
    
    _2013-05-11_
    
     * Fix: Remove use of Java 6-only APIs.
     * Fix: Properly handle exceptions from `NetworkInterface` when querying MTU.
     * Fix: Ensure MTU has a reasonable default and upper-bound.
    
    
    ## Version 1.0.1
    
    _2013-05-06_
    
     * Correct casing of SSL in method names (`getSslSocketFactory`/`setSslSocketFactory`).
    
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          BigInteger x4 = x.shiftLeft(2);
          // sqrt(x) < result + 0.5, so 4 * x < (result + 0.5)^2 * 4
          // (result + 0.5)^2 * 4 = (result^2 + result)*4 + 1
          assertTrue(x4.compareTo(plusHalfSquared) < 0);
          BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
          // sqrt(x) > result - 0.5, so 4 * x > (result - 0.5)^2 * 4
          // (result - 0.5)^2 * 4 = (result^2 - result)*4 + 1
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/test/java/jcifs/EncodableTest.java

            }
        }
    
        @Test
        @DisplayName("encode() throws when destination too small")
        void encodeThrowsWhenDestinationTooSmall() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
            byte[] dst = new byte[4]; // too small
    
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 0),
                    "System.arraycopy should throw for insufficient destination space");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> {
                    byte[] buffer = invocation.getArgument(0);
                    buffer[0] = 5; // Valid PDU version
                    buffer[1] = 0; // Valid PDU type
                    Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length
                    return 30; // Initial bytes received
                });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        assertConnectionNotReused(request, request)
      }
    
      @Test
      fun connectionsAreNotReusedIfPoolIsSizeZero() {
        client =
          client
            .newBuilder()
            .connectionPool(ConnectionPool(0, 5, TimeUnit.SECONDS))
            .build()
        server.enqueue(MockResponse(body = "a"))
        server.enqueue(MockResponse(body = "b"))
        val request = Request(server.url("/"))
        assertConnectionNotReused(request, request)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (1)
  7. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            byte[] buffer = new byte[10];
            byte[] data = { 1, 2, 3, 4, 5 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
            int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5);
    
            assertEquals(5, bytesRead);
            for (int i = 0; i < 5; i++) {
                assertEquals(data[i], buffer[i]);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            setQueryType("bool");
            assertQueryBuilder(DefaultQueryBuilder.class,
                    "{\"bool\":{\"should\":[{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.5}}},{\"match_phrase\":{\"content\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.05}}}],\"adjust_pure_negative\":true,\"boost\":1.0}}",
                    "aaa");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportTest.java

                InputStream is = new ByteArrayInputStream(data);
                byte[] buffer = new byte[20];
    
                int bytesRead = Transport.readn(is, buffer, 0, 5);
                assertEquals(5, bytesRead);
                assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5));
            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testWriteBytesToOversizedArrayLongMaxLength() {
        byte[] dest = new byte[5];
        HASH_ABCD.writeBytesTo(dest, 0, 5);
        assertTrue(
            Arrays.equals(
                new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0xdd, (byte) 0x00}, dest));
      }
    
      public void testWriteBytesToOversizedArrayShortMaxLength() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top