Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 3,501 for final (0.32 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.Cache;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CacheResponse {
      private final OkHttpClient client;
    
      public CacheResponse(File cacheDirectory) throws Exception {
        int cacheSize = 10 * 1024 * 1024; // 10 MiB
        Cache cache = new Cache(cacheDirectory, cacheSize);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
            this(path, null);
        }
    
        PathSource(Path path, String location) {
            this.path = path.normalize();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    
    class DocBookBuilder {
        final LinkedList<Element> stack = new LinkedList<Element>();
        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
            stack.addFirst(document.createElement("root"));
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java

     */
    public class PropertyMetaData extends AbstractLanguageElement implements Serializable, TypeContainer {
        private TypeMetaData type;
        private final String name;
        private final ClassMetaData ownerClass;
        private MethodMetaData setter;
        private MethodMetaData getter;
    
        public PropertyMetaData(String name, ClassMetaData ownerClass) {
            this.name = name;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class ClassLinkMetaDataTest extends Specification {
    
        public static final String SIMPLE_CLASSNAME = 'MyClass'
        public static final String METHOD_NAME = 'calculate'
    
        def "can define and look up overloaded methods"() {
            given:
            ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

                    return "none";
                }
            });
            final OsddHelper osddHelper = new OsddHelper();
            osddHelper.setContentType("application/opensearchdescription+xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail();
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            pdfExtractorForPdfPassword.addPassword(".*test_.*.pdf", "word");
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test.pdf");
            final ExtractData extractData = pdfExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashing.java

       */
      private static final int MIN_HASH_TABLE_SIZE = 4;
    
      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
      private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536
      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String martinRepeat(String string, int count) {
        final int len = string.length();
        final int size = len * count;
        final char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

        private ResponseData getTestData1_OK() {
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/sitemap.xml");
            File file = ResourceUtil.getResourceAsFile("sitemaps/sitemap1.xml");
            responseData.setResponseBody(file, false);
            return responseData;
        }
    
        private ResponseData getTestData2_OK() {
            final ResponseData responseData = new ResponseData();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top