Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,922 for Try (0.05 sec)

  1. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

          .build()
      val launcher: Launcher = LauncherFactory.create(config)
    
      val request: LauncherDiscoveryRequest = buildRequest(selectors)
    
      DotListener.install()
    
      try {
        launcher.execute(request)
      } finally {
        DotListener.uninstall()
      }
    
      val summary = summaryListener.summary
      summary.printTo(PrintWriter(System.out))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            };
    
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/");
            responseData.addMetaData("X-Robots-Tag", "noindex,nofollow");
    
            try {
                transformer.processXRobotsTag(responseData, new ResultData());
                fail();
            } catch (ChildUrlsException e) {
                assertTrue(e.getChildUrlList().isEmpty());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    }
                    updateThumbnailField(thumbnailId, StringUtil.EMPTY);
                    return false;
                }
                boolean created = false;
                try (ImageInputStream input = ImageIO.createImageInputStream(responseData.getResponseBody())) {
                    switch (saveImage(input, outputFile)) {
                    case OK:
                        created = true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                      assertEquals(v3(), newV);
                      return null;
                    }));
        expectMissing(e0());
      }
    
      public void testMergeNullValue() {
        try {
          getMap()
              .merge(
                  k0(),
                  null,
                  (oldV, newV) -> {
                    throw new AssertionFailedError("Should not call merge function if value was null");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/SubtypeTester.java

            .isFalse();
        if (!spec.suppressGetSubtype()) {
          try {
            assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType()))
                .isNotEqualTo(paramType);
          } catch (IllegalArgumentException notSubtype1) {
            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            for (final int v : fessConfig.getQueryHighlightTerminalCharsAsArray()) {
                highlightTerminalCharSet.add(v);
            }
            try {
                final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class);
                servletContext.setSessionTrackingModes(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                if (Files.isRegularFile(artifactPath)) {
                    try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) {
                        ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
    
                        if (pluginDescriptorEntry != null) {
                            try (InputStream is = artifactJar.getInputStream(pluginDescriptorEntry)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return getProjects(getMavenSession().getProjects());
        }
    
        @Nonnull
        @Override
        public Map<String, Object> getPluginContext(Project project) {
            nonNull(project, "project");
            try {
                MojoExecution mojoExecution = lookup.lookup(MojoExecution.class);
                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. tests/test_ws_router.py

        """
        Verify that a validation in a dependency invokes the correct exception handler
        """
        caught = []
    
        @websocket_middleware
        async def catcher(websocket, call_next):
            try:
                return await call_next()
            except Exception as e:  # pragma: no cover
                caught.append(e)
                raise
    
        myapp = make_app(middleware=[Middleware(catcher)])
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. .github/workflows/CheckBadMerge.groovy

            "platforms/core-runtime/launcher/src/main/resources/release-features.txt"
        ]
    
        static void main(String[] commits) {
            println("Commits to check: ${Arrays.toString(commits)}")
            try {
                commits.each { checkCommit(it) }
            } finally {
                THREAD_POOL.shutdown()
            }
        }
    
        static void checkCommit(String commit) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top