Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for hi (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
        assertEquals(0, queue.size());
    
        assertTrue(queue.offer("hi"));
        assertEquals(0, queue.size());
    
        assertFalse(queue.remove("hi"));
        assertEquals(0, queue.size());
    
        try {
          queue.element();
          fail();
        } catch (NoSuchElementException expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

         * @param low
         *            最小の文字コード
         * @param hi
         *            最大の文字コード
         */
        protected static void whitespaceChars(final byte[] ctype2, int low, int hi) {
            if (low < 0) {
                low = 0;
            }
            if (hi >= ctype2.length) {
                hi = ctype2.length - 1;
            }
            while (low <= hi) {
                ctype2[low++] = CT_WHITESPACE;
            }
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
        assertEquals(0, queue.size());
    
        assertTrue(queue.offer("hi"));
        assertEquals(0, queue.size());
    
        assertFalse(queue.remove("hi"));
        assertEquals(0, queue.size());
    
        try {
          queue.element();
          fail();
        } catch (NoSuchElementException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      }
    
      // Tests from RFC2022: https://tools.ietf.org/html/rfc2202
    
      public void testRfc2202_hmacSha1_case1() {
        byte[] key = fillByteArray(20, 0x0b);
        String data = "Hi There";
    
        checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data);
      }
    
      public void testRfc2202_hmacSha1_case2() {
        byte[] key = "Jefe".getBytes(UTF_8);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/AppendableWriterTest.java

        assertTrue(spy.closed);
      }
    
      public void testCloseIsFinal() throws IOException {
        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.write("Hi");
        writer.close();
    
        assertThrows(IOException.class, () -> writer.write(" Greg"));
    
        assertThrows(IOException.class, () -> writer.flush());
    
        // close()ing already closed writer is allowed
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("world"))
            .addEqualityGroup(LENGTH_EQUIVALENCE.wrap("hi"), LENGTH_EQUIVALENCE.wrap("yo"))
            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/CharsTest.java

        char c = 0;
        for (int hi = 0; hi < 256; hi++) {
          for (int lo = 0; lo < 256; lo++) {
            char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo});
            assertWithMessage(
                    String.format(
                        Locale.ROOT,
                        "hi=%s, lo=%s, expected=%s, result=%s",
                        hi,
                        lo,
                        (int) c,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/PACTest.java

    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        char c = 0;
        for (int hi = 0; hi < 256; hi++) {
          for (int lo = 0; lo < 256; lo++) {
            char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo});
            assertWithMessage(
                    String.format(
                        Locale.ROOT,
                        "hi=%s, lo=%s, expected=%s, result=%s",
                        hi,
                        lo,
                        (int) c,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      }
    
      // Tests from RFC2022: https://tools.ietf.org/html/rfc2202
    
      public void testRfc2202_hmacSha1_case1() {
        byte[] key = fillByteArray(20, 0x0b);
        String data = "Hi There";
    
        checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data);
      }
    
      public void testRfc2202_hmacSha1_case2() {
        byte[] key = "Jefe".getBytes(UTF_8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
Back to top