Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,510 for scratch (0.25 sec)

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

        AtomicInteger runCalled = new AtomicInteger();
        list.add(
            new Runnable() {
              @Override
              public void run() {
                try {
                  okayToRun.await();
                } catch (InterruptedException e) {
                  Thread.currentThread().interrupt();
                  throw new RuntimeException(e);
                }
                runCalled.getAndIncrement();
              }
            },
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                      actualIsOccupiedByCurrentThread.set(monitor.isOccupiedByCurrentThread());
                      actualOccupiedDepth.set(monitor.getOccupiedDepth());
                    } catch (Throwable t) {
                      thrown.set(t);
                    }
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                }
                            }
                            server.oemDomainName = new String(buffer, bufferIndex, len, SmbConstants.OEM_ENCODING);
                        }
                    } catch (final UnsupportedEncodingException uee) {
                        if (LogStream.level > 1) {
                            uee.printStackTrace(log);
                        }
                    }
                    bufferIndex += len;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Enums.java

       *
       * @since 12.0
       */
      public static Field getField(Enum<?> enumValue) {
        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
        } catch (NoSuchFieldException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                    dependency.setSystemPath(new File(
                                    "src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/pom.xml")
                            .getCanonicalPath());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
    
                project.getModel().addDependency(dependency);
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                        isMap = Map.class.isAssignableFrom(Class.forName(param.getType()));
                        isProperties = Properties.class.isAssignableFrom(Class.forName(param.getType()));
                    } catch (ClassNotFoundException e) {
                        // assume it is not assignable from Collection or Map
                    }
                }
    
                messageBuffer.append("Inside the definition for plugin '");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    }
                    if (values.length > 1) {
                        cb.query().setRequestedAt_LessEqual(LocalDateTime.parse(values[1], formatter));
                    }
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to parse {}", pager.requestedTimeRange, e);
                    }
                }
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top