Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 7,287 for _class (0.05 sec)

  1. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

        } else {
          renameFaults.remove(file)
        }
      }
    
      @Throws(IOException::class)
      override fun atomicMove(
        source: Path,
        target: Path,
      ) {
        if (renameFaults.contains(source) || renameFaults.contains(target)) throw IOException("boom!")
        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

     *
     * @author Zoe Piepmeier
     */
    public class HashingOutputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

                return dependencyScopes;
            }
        }
    
        private static class DefaultProjectScope extends DefaultExtensibleEnum implements ProjectScope {
    
            DefaultProjectScope(String id) {
                super(id);
            }
        }
    
        private static class DefaultLanguage extends DefaultExtensibleEnum implements Language {
    
            DefaultLanguage(String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/PackageSanityTests.java

     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(LockFreeBitArray.class, new LockFreeBitArray(1));
        setDefault(HashCode.class, HashCode.fromInt(1));
        setDefault(String.class, "MD5");
        setDefault(int.class, 32);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 15:56:47 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Empty {}
    
      @Generates
      Class<?> generateClass() {
        return pickInstance(
            ImmutableList.of(
                int.class, long.class, void.class, Object.class, Object[].class, Iterable.class),
            Object.class);
      }
    
      @Generates
      Object generateObject() {
        return generateString();
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    public class CorsHandlerFactory {
        private static final Logger logger = LogManager.getLogger(CorsHandlerFactory.class);
    
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        public void add(final String origin, final CorsHandler handler) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.helper.SearchLogHelper;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class AggregateLogJob {
    
        private static final Logger logger = LogManager.getLogger(AggregateLogJob.class);
    
        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

      private final ImmutableList<Subscriber> integerSubscribers =
          ImmutableList.of(
              subscriber(bus, i1, "handleInteger", Integer.class),
              subscriber(bus, i2, "handleInteger", Integer.class),
              subscriber(bus, i3, "handleInteger", Integer.class));
    
      private final StringSubscriber s1 = new StringSubscriber("s1");
      private final StringSubscriber s2 = new StringSubscriber("s2");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

      // public named classes with a public default constructor.
    
      public static final class BytesAsListGenerator extends TestByteListGenerator {
        @Override
        protected List<Byte> create(Byte[] elements) {
          return asList(elements);
        }
      }
    
      public static final class BytesAsListHeadSubListGenerator extends TestByteListGenerator {
        @Override
        protected List<Byte> create(Byte[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top