Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 360 for world (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testAppendMethods() throws IOException {
        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.append("Hello,");
        writer.append(' ');
        writer.append("The World Wide Web", 4, 9);
        writer.append("!");
    
        assertEquals("Hello, World!", builder.toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .add("field2", "Googley")
                .omitNullValues()
                .add("field3", "World")
                .toString();
        assertEquals("TestClass{field1=Hello, field2=Googley, field3=World}", toTest);
      }
    
      public void testToStringHelperWithArrays() {
        String[] strings = {"hello", "world"};
        int[] ints = {2, 42};
        Object[] objects = {"obj"};
        String[] arrayWithNull = {null};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        mac.init(SHA1_KEY);
        mac.update("hello".getBytes(UTF_8));
        mac.update("world".getBytes(UTF_8));
    
        assertEquals(
            HashCode.fromBytes(mac.doFinal()),
            Hashing.hmacSha1(SHA1_KEY)
                .newHasher()
                .putString("hello", UTF_8)
                .putString("world", UTF_8)
                .hash());
      }
    
      public void testMultipleUpdatesDoFinal() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkTester.java

              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
              .put("\\r line break", "hello\rworld")
              .put("\\r\\n line break", "hello\r\nworld")
              .put("\\n at EOF", "hello\nworld\n")
              .put("\\r at EOF", "hello\nworld\r")
              .put("lorem ipsum", LOREM_IPSUM)
              .buildOrThrow();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .add("field2", "Googley")
                .omitNullValues()
                .add("field3", "World")
                .toString();
        assertEquals("TestClass{field1=Hello, field2=Googley, field3=World}", toTest);
      }
    
      public void testToStringHelperWithArrays() {
        String[] strings = {"hello", "world"};
        int[] ints = {2, 42};
        Object[] objects = {"obj"};
        String[] arrayWithNull = {null};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            Did you *actually* encounter the need for this enhancement in a real-world scenario, or does
            it just seem like a sensible behavior for the feature to have?
    
    
            Before we make significant changes to existing features in Guava, we really want to be sure
            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        mac.init(SHA1_KEY);
        mac.update("hello".getBytes(UTF_8));
        mac.update("world".getBytes(UTF_8));
    
        assertEquals(
            HashCode.fromBytes(mac.doFinal()),
            Hashing.hmacSha1(SHA1_KEY)
                .newHasher()
                .putString("hello", UTF_8)
                .putString("world", UTF_8)
                .hash());
      }
    
      public void testMultipleUpdatesDoFinal() throws Exception {
    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)
  10. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          return new URLClassLoader(new URL[] {base}, null);
        }
      }
    
      /**
       * Loads Finalizer directly using the current class loader. We won't be able to garbage collect
       * this class loader, but at least the world doesn't end.
       */
      static class DirectLoader implements FinalizerLoader {
        @Override
        public Class<?> loadFinalizer() {
          try {
            return Class.forName(FINALIZER_CLASS_NAME);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top