Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 51 for literals (0.09 seconds)

  1. android/guava/src/com/google/common/net/HostAndPort.java

       * Generate an error if the host might be a non-bracketed IPv6 literal.
       *
       * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]".
       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
        }
      }
    
      public void testLifecycle() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        logger.fine("Expanded: " + formatFeatureSet(features));
    
        @SuppressWarnings("rawtypes") // class literals
        List<Class<? extends AbstractTester>> testers = getTesters();
    
        TestSuite suite = new TestSuite(name);
        for (@SuppressWarnings("rawtypes") // class literals
        Class<? extends AbstractTester> testerClass : testers) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        logger.fine("Expanded: " + formatFeatureSet(features));
    
        @SuppressWarnings("rawtypes") // class literals
        List<Class<? extends AbstractTester>> testers = getTesters();
    
        TestSuite suite = new TestSuite(name);
        for (@SuppressWarnings("rawtypes") // class literals
        Class<? extends AbstractTester> testerClass : testers) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
        }
      }
    
      public void testLifecycle() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  6. doc/go_spec.html

    '\U00110000' // illegal: invalid Unicode code point
    </pre>
    
    
    <h3 id="String_literals">String literals</h3>
    
    <p>
    A string literal represents a <a href="#Constants">string constant</a>
    obtained from concatenating a sequence of characters. There are two forms:
    raw string literals and interpreted string literals.
    </p>
    
    <p>
    Raw string literals are character sequences between back quotes, as in
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  7. docs/en/docs/_llm-test.md

    ////
    
    ## Quotes in code snippets { #quotes-in-code-snippets }
    
    //// tab | Test
    
    `pip install "foo[bar]"`
    
    Examples for string literals in code snippets: `"this"`, `'that'`.
    
    A difficult example for string literals in code snippets: `f"I like {'oranges' if orange else "apples"}"`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

            return c1 - c2;
          }
        }
        return labelLen - nodeLabelLen;
      }
    
      /**
       * A CharSequence that is composed of multiple chunks. This is used to work around the 64k size
       * limit for string literals in Java.
       */
      private static class ChunksCharSequence implements CharSequence {
        private final ImmutableList<CharSequence> chunks;
        private final int length;
        private final int chunkShift;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

        // The argument was malformed, i.e. not an IP string literal.
        if (addr == null) {
          throw formatIllegalArgumentException("'%s' is not an IP string literal.", ipString);
        }
    
        return bytesToInetAddress(addr, scope.scope);
      }
    
      /**
       * Returns {@code true} if the supplied string is a valid IP string literal, {@code false}
       * otherwise.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        suite.addTest(
            ConcurrentMapTestSuiteBuilder.using(
                    new TestStringCacheGenerator(createCacheBuilder().weakKeys()))
                .named("LocalCache with weakKeys") // keys are string literals and won't be GC'd
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
Back to Top