Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 265 for 123Z (0.01 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertEquals(3, sis.read(buffer));
            assertArrayEquals(new byte[] { 1, 2, 3 }, buffer);
        }
    
        @Test
        @DisplayName("Available returns remaining bytes in current message")
        void availableReturnsBytesInCurrentMessage() throws IOException {
            // Create message with 4 bytes
            byte[] data = new byte[] { 1, 2, 3, 4 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(4), data));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

      }
    
      @Test
      fun kotlinReifiedTag() {
        val uuidTag = "1234"
        val request =
          Request
            .Builder()
            .url("https://square.com")
            .tag<String>(uuidTag) // Use the type parameter.
            .build()
        assertThat(request.tag<String>()).isSameAs("1234")
        assertThat(request.tag<Any>()).isNull()
    
        // Alternate access APIs also work.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(8998);
        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-snapshot"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-20090413.094722-2"));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3-20090413X094722-2"));
        }
    
        @Test
        void testToSnapshotVersion() {
            assertEquals("1.2.3", ArtifactUtils.toSnapshotVersion("1.2.3"));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should get and set tree ID")
            void testTreeIdProperty() {
                assertEquals(0, testMessage.getTreeId());
                testMessage.setTreeId(123);
                assertEquals(123, testMessage.getTreeId());
            }
    
            @Test
            @DisplayName("Should propagate tree ID to chained message")
            void testTreeIdPropagation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            tree.tid = 123;
            tree.inDfs = true;
            tree.inDomainDfs = false;
            tree.connectionState = 2;
    
            String result = tree.toString();
            // Verify the toString contains the expected information
            assertTrue(result.contains("TESTSHARE"));
            assertTrue(result.contains("testService"));
            assertTrue(result.contains("123"));
            assertTrue(result.contains("2"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SpnegoContextTest.java

            when(this.config.isEnforceSpnegoIntegrity()).thenReturn(false);
            when(this.config.isDisableSpnegoIntegrity()).thenReturn(false);
            this.mechs = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.3.4") };
        }
    
        private SpnegoContext newContext() {
            return new SpnegoContext(this.config, this.mechContext, this.mechs);
        }
    
        @Test
        @DisplayName("getSupportedMechs returns SPNEGO OID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top