Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 1,551 for scratch (0.03 sec)

  1. src/main/java/jcifs/netbios/NbtAddress.java

                         * have a real NetBIOS name
                         */
                        this.calledName = null;
                        return getHostName();
                    }
                } catch (final UnknownHostException uhe) {
                    this.calledName = null;
                }
            } else {
                this.calledName = null;
            }
    
            return this.calledName;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          assertFailsWith<IOException> {
            source.readUtf8()
          }
          try {
            assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does.
          } catch (_: IOException) {
            // Also okay. This is what HTTP/2 does.
          }
          assertFailsWith<IOException> {
            response.trailers()
          }
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            }
    
            org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle lifecycleOverlay;
    
            try {
                lifecycleOverlay = pluginDescriptor.getLifecycleMapping(forkedLifecycle);
            } catch (IOException | XMLStreamException e) {
                throw new PluginDescriptorParsingException(pluginDescriptor.getPlugin(), pluginDescriptor.getSource(), e);
            }
    
            if (lifecycleOverlay == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            accessResultDataImpl.setTransformerName("transformer");
    
            try {
                final Object obj = xpathTransformer.getData(accessResultDataImpl);
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_getData_nullData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            final InputStream is = ResourceUtil.getResourceAsStream("test/text1.txt");
    
            try {
                mimeTypeHelper.getContentType(null, "");
                fail();
            } catch (final MimeTypeException e) {}
    
            assertEquals("text/plain", mimeTypeHelper.getContentType(is, ""));
            assertEquals("text/plain", mimeTypeHelper.getContentType(is, " "));
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

      private static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

                return new ByteArrayInputStream(responseBodyBytes);
            }
            if (responseBodyFile != null) {
                try {
                    return new FileInputStream(responseBodyFile);
                } catch (final FileNotFoundException e) {
                    throw new IORuntimeException(e);
                }
            }
            return null;
        }
    
        /**
         * Sets the response body from a byte array.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/PathValidator.java

                // Add normalized path
                if (path != null && !path.isEmpty()) {
                    normalized.append(normalizePath(path));
                }
    
                return normalized.toString();
    
            } catch (MalformedURLException e) {
                throw new SmbException("Invalid SMB URL format: " + e.getMessage());
            }
        }
    
        /**
         * Check if path contains traversal sequences
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                        if (groupPrincipal != null) {
                            roleTypeList.add(systemHelper.getSearchRoleByGroup(groupPrincipal.getName()));
                        }
                    }
                } catch (final IOException e) {
                    throw new CrawlingAccessException("Failed to access permission info", e);
                }
                if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
            return result;
        }
    
        public static String getLayout(ArtifactRepository repo) {
            try {
                return repo.getLayout().getId();
            } catch (LinkageError e) {
                /*
                 * NOTE: getId() was added in 3.x and is as such not implemented by plugins compiled against 2.x APIs.
                 */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top