Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,682 for ToString (0.06 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ProtocolTest.kt

      fun testToString() {
        assertThat(Protocol.HTTP_1_0.toString()).isEqualTo("http/1.0")
        assertThat(Protocol.HTTP_1_1.toString()).isEqualTo("http/1.1")
        assertThat(Protocol.SPDY_3.toString()).isEqualTo("spdy/3.1")
        assertThat(Protocol.HTTP_2.toString()).isEqualTo("h2")
        assertThat(Protocol.H2_PRIOR_KNOWLEDGE.toString())
          .isEqualTo("h2_prior_knowledge")
        assertThat(Protocol.QUIC.toString()).isEqualTo("quic")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            StringBuilder path = new StringBuilder(128);
    
            path.append(filename);
    
            return path.toString();
        }
    
        public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata) {
            return pathOfRepositoryMetadata(metadata.getRemoteFilename());
        }
    
        @Override
        public String toString() {
            return getId();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            request.setParameter("userCode", buf.toString());
            assertNull(userInfoHelper.getUserCodeFromRequest(request));
    
            buf.append("12345ABCDE");
            request.setParameter("userCode", buf.toString());
            assertEquals("12345abcde12345ABCDE", userInfoHelper.getUserCodeFromRequest(request));
            request.setParameter("userCode", buf.toString() + "_");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        T proxy = new FreshValueGenerator().newFreshProxy(interfaceType);
        assertEquals(
            "toString() isn't properly forwarded",
            proxy.toString(),
            wrapperFunction.apply(proxy).toString());
      }
    
      private static @Nullable Object[] getParameterValues(Method method) {
        FreshValueGenerator paramValues = new FreshValueGenerator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals("_default:fess", ((PhraseQuery) query).getTerms()[0].toString());
    
            query = queryParser.createDefaultFilterChain().parse("\"fess codelibs\"");
            assertEquals(PhraseQuery.class, query.getClass());
            assertEquals("_default:fess", ((PhraseQuery) query).getTerms()[0].toString());
            assertEquals("_default:codelibs", ((PhraseQuery) query).getTerms()[1].toString());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

            .testEquals();
    
        assertEquals(hashFunction1a.toString(), hashFunction1b.toString());
        assertEquals(hashFunction2a.toString(), hashFunction2b.toString());
        assertEquals(hashFunction3a.toString(), hashFunction3b.toString());
        assertEquals(hashFunction4a.toString(), hashFunction4b.toString());
      }
    
      static void assertSeedlessHashFunctionEquals(Class<?> clazz) throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            this.compareScope = compareScope;
        }
    
        // ---------------------------------------------------------------------
        @Override
        public String toString() {
            return "[" + (md == null ? "no metadata" : md.toString()) + "]";
        }
    
        // ---------------------------------------------------------------------
        private static int compareStrings(String s1, String s2) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                }
            }
            return sb.toString().replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath);
        }
    
        protected String getSuggestAnalyzerPath() {
            final Object typeObj = settings.get("search_engine.type");
            if (typeObj != null) {
                final String path = "suggest_indices/_" + typeObj.toString() + "/suggest_analyzer.json";
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.hashCode();
      }
    
      /**
       * By default delegates to {@link Object#toString}. The dynamic proxies' {@code toString()} will
       * delegate to this method. Subclasses can override this method to provide custom string
       * representation for the proxies.
       */
      @Override
      public String toString() {
        return super.toString();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top