Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 1,782 for scratch (0.09 seconds)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
                }
    
                this.fp = 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        TypeVisitor visitor = new BaseTypeVisitor();
        try {
          visitor.visit(type);
          fail("Type not visited");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          visitor.visit(new Type[] {type});
          fail("Type not visited");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private static class BaseTypeVisitor extends TypeVisitor {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java

                        if (impl != null) {
                            return (Slf4jConfiguration)
                                    Class.forName(impl).getDeclaredConstructor().newInstance();
                        }
                    } catch (IOException
                            | ClassNotFoundException
                            | NoSuchMethodException
                            | InvocationTargetException
                            | IllegalAccessException
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java

        }
    
        private static Method declaredMethod(Class<?> type, String methodName, Class<?>... paramTypes) {
            try {
                return makeAccessible(type.getDeclaredMethod(methodName, paramTypes));
            } catch (NoSuchMethodException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static Method makeAccessible(Method method) {
            method.setAccessible(true);
            return method;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/UserService.java

                    });
                } else {
                    logger.warn("Password change not applied by authentication manager: username={}", username);
                }
            } catch (final FessUserNotFoundException e) {
                throw e;
            } catch (final Exception e) {
                logger.warn("Failed to change password for user: username={}, error={}", username, e.getMessage(), e);
                throw e;
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                            repositorySystem.injectAuthentication(request.getRepositorySession(), Arrays.asList(repo));
                            repos.add(repo);
                        } catch (InvalidRepositoryException e) {
                            throw new ProjectBuildingException("", "Invalid remote repository " + repository, e);
                        }
                        normalized = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                if (responseData.getCharSet() != null) {
                    is.setEncoding(responseData.getCharSet());
                }
                parser.parse(is);
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e);
            }
    
            final Document document = parser.getDocument();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            for (int i = 0; i < 3; i++) {
                try {
                    circuitBreaker.call(() -> {
                        throw new RuntimeException("Test failure");
                    });
                } catch (Exception e) {
                    // Expected
                }
            }
    
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
            assertFalse(circuitBreaker.allowsRequests());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          appendResultObject(builder, value);
          builder.append("]");
        } catch (ExecutionException e) {
          builder.append("FAILURE, cause=[").append(e.getCause()).append("]");
        } catch (CancellationException e) {
          builder.append("CANCELLED"); // shouldn't be reachable
        } catch (Exception e) { // sneaky checked exception
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
Back to Top