Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 2,167 for Batch (0.04 sec)

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

        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
          } catch (NullPointerException e) {
            // this is what should happen
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testMemoizeNonSerializable() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SuppliersTest.java

        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
          } catch (NullPointerException e) {
            // this is what should happen
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testMemoizeNonSerializable() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTest.java

       */
      private static int runSuppressionFailureTest(ByteSource in, ByteSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
          return expected.getSuppressed().length;
        }
        throw new AssertionError(); // can't happen
      }
    
      private static ByteSource newNormalByteSource() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

                for (int i = 0; i < 64; i++) {
                    versions.add(newVersion(UUID.randomUUID().toString()));
                }
                try {
                    Collections.sort(versions);
                } catch (Exception e) {
                    e.printStackTrace(System.err);
                    System.err.println("The UUIDs used");
                    System.err.println(versions.stream().map(Version::toString).collect(Collectors.joining("\n")));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                                            + repository.getId() + "'");
                                }
                            }
                        }
                    }
                }
            } catch (Exception e) {
                invalidMetadata(session, trace, metadata, repository, e);
                result.addException(e);
            }
    
            return (versioning != null) ? versioning : new Versioning();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                }]
                            }]
                            """
                    )
                }
            ) {
                assertOutputContains("The following accessors were upgraded, but didn't match any removed/changed method:\n\ncom.example.Task#setSourceCompatibility(Ljava/lang/String;)V")
            }
        }
    
        @Test
        fun `should not fail if some method was upgraded and not removed but marked as kept`() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

                result.setUidNumber(DfTypeUtil.toLong(source.get("uidNumber")));
                result.setX121Address(DfTypeUtil.toString(source.get("x121Address")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                engineObj.numberOfInFlightFetch = response.getNumberOfInFlightFetch();
                engineObj.status = response.getStatus().name().toLowerCase(Locale.ROOT);
            } catch (final Exception e) {
                engineObj.status = "red";
                engineObj.exception = e.getMessage();
            }
            return engineObj;
        }
    
        public static class FsObj {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top