Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4441 - 4450 of 5,169 for String (0.03 sec)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    
      private static class ParentClassHasConstant extends WithPublicConstant {}
    
      public static class WithGenericConstant<T> {
        public static final WithGenericConstant<String> STRING_CONSTANT = new WithGenericConstant<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multimap.java

     *
     * <h3>Example</h3>
     *
     * <p>The following code:
     *
     * {@snippet :
     * ListMultimap<String, String> multimap = ArrayListMultimap.create();
     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
     *   List<String> lastNames = multimap.get(firstName);
     *   out.println(firstName + ": " + lastNames);
     * }
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. cmd/metacache-stream_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        inappropriate.
    
     *  New: `HttpUrl.get(String)` is an alternative to `HttpUrl.parse(String)` that throws an exception
        when the URL is malformed instead of returning null. Use this to avoid checking for null in
        situations where the input is known to be well-formed. We've also added `MediaType.get(String)`
        which is an exception-throwing alternative to `MediaType.parse(String)`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

        }
    
        @Override
        @SuppressWarnings("checkstyle:parameternumber")
        public ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
                Artifact originatingArtifact,
                Map<String, Artifact> managedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      }
    
      @Override
      public boolean isEmpty() {
        return true;
      }
    
      @Override
      public ImmutableList<C> asList() {
        return ImmutableList.of();
      }
    
      @Override
      public String toString() {
        return "[]";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return that.isEmpty();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(255)).isEqualTo("%C3%BF")
      }
    
      @Throws(IOException::class)
      private fun formEncode(codePoint: Int): String {
        // Wrap the codepoint with regular printable characters to prevent trimming.
        val body =
          FormBody
            .Builder()
            .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3))
            .build()
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

      // that are considered authoritative for the behavior of that escaper.
    
      /**
       * Returns an {@link Escaper} instance that escapes special characters in a string so it can
       * safely be included in an XML document as element content. See section <a
       * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
          // Tolerated
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         * @param createOptions the create options
         * @param andx the next command in the chain
         */
        public SmbComNTCreateAndX(final Configuration config, final String name, final int flags, final int access, final int shareAccess,
                final int extFileAttributes, final int createOptions, final ServerMessageBlock andx) {
            super(config, SMB_COM_NT_CREATE_ANDX, name, andx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top