Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 6,031 for asString (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE);
          mock.assertLastMethodCalled("submit");
          assertEquals(RESULT_VALUE, f.get());
        }
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          Callable<String> task = Callables.returning(RESULT_VALUE);
          Future<String> f = testExecutor.submit(task);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        }
    
        private ArtifactSpec createArtifactSpec(String id, String version, String scope)
                throws InvalidVersionSpecificationException {
            return createArtifactSpec(id, version, scope, null, false);
        }
    
        private ArtifactSpec createArtifactSpec(
                String id, String version, String scope, String inheritedScope, boolean optional)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

        }
    
        protected Map<String, String[]> parseQueryString(final String queryString, final String enc) throws IOException {
            final Map<String, List<String>> paramListMap = new HashMap<>();
            final String[] pairs = queryString.split("&");
            try {
                for (final String pair : pairs) {
                    final int pos = pair.indexOf('=');
                    if (pos >= 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

        private void assertNotContains(VersionConstraint c, String... versions) {
            assertContains(String.format("%s: %%s should not be contained\n", c.toString()), c, false, versions);
        }
    
        private void assertContains(String msg, VersionConstraint c, boolean b, String... versions) {
            for (String v : versions) {
                assertEquals(b, c.contains(versionParser.parseVersion(v)), String.format(msg, v));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_param_models/test_tutorial001.py

                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                    "type": "array",
                                    "title": "Location",
                                },
                                "msg": {"type": "string", "title": "Message"},
                                "type": {"type": "string", "title": "Error Type"},
                            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                    "HTTPValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              return i.chop(str).or(you.chop(str));
            }
          };
        }
    
        abstract Optional<String> chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PreemptiveAuth().run();
      }
    
      static final class BasicAuthInterceptor implements Interceptor {
        private final String credentials;
        private final String host;
    
        BasicAuthInterceptor(String host, String username, String password) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

            this.childUrlSet = childUrlSet;
        }
    
        public String getEncoding() {
            return encoding;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/StringCatcher.java

     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    public class StringCatcher {
      private List<String> events = Lists.newArrayList();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 1.4K bytes
    - Viewed (0)
Back to top