Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2811 - 2820 of 6,150 for string (0.07 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

            () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5))));
      }
    
      public void testEntrySetMutationThrows() {
        map.putInstance(String.class, "test");
        assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey());
        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun KtFile.ktClassOf(member: CtClass) =
        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    fun KtDeclaration.isDocumentedAsSince(version: String) =
        docComment?.isSince(version) == true
    
    
    private
    fun KDoc.isSince(version: String) =
        text.contains("@since $version")
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      }
    
      public void testRecursiveComputation() throws InterruptedException {
        final AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
                if (key > 0) {
                  return key + ", " + cacheRef.get().getUnchecked(key - 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      }
    
      public void testRecursiveComputation() throws InterruptedException {
        final AtomicReference<LoadingCache<Integer, String>> cacheRef = new AtomicReference<>();
        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
                if (key > 0) {
                  return key + ", " + cacheRef.get().getUnchecked(key - 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java

                classDoc.setSuperClass(superClass);
                superClass.addSubClass(classDoc);
            }
    
            List<String> interfaceNames = classMetaData.getInterfaceNames();
            for (String interfaceName : interfaceNames) {
                ClassDoc superInterface = model.findClassDoc(interfaceName);
                if (superInterface != null) {
                    classDoc.getInterfaces().add(superInterface);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

            return 0;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
            return new String( "SmbComQueryInformation[" +
                super.toString() +
                ",filename=" + path + "]" );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

    @Deprecated
    class MavenArtifactRepositoryTest {
        private static class MavenArtifactRepositorySubclass extends MavenArtifactRepository {
            String id;
    
            public MavenArtifactRepositorySubclass(String id) {
                this.id = id;
            }
    
            @Override
            public String getId() {
                return id;
            }
        }
    
        @Test
        void testHashCodeEquals() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            numOfFragments = fessConfig.getQueryHighlightNumberOfFragmentsAsInteger();
            fragmentOffset = fessConfig.getQueryHighlightFragmentOffsetAsInteger();
        }
    
        public String getType() {
            return type;
        }
    
        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        public int getFragmentSize() {
            return fragmentSize;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostString.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostString().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java

        public PatternConcatenationFilterFactory(final IndexSettings indexSettings, final Environment environment, final String name,
                final Settings settings) {
            super(indexSettings, name, settings);
    
            final String pattern1Str = settings.get("pattern1");
            final String pattern2Str = settings.get("pattern2", ".*");
    
            if (logger.isDebugEnabled()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top