Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 3,913 for getS (0.03 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().indexOf(target)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            }
        }
    
        public void add(final String mimetype, final String filetype) {
            mimetypeMap.put(mimetype, filetype);
        }
    
        public String get(final String mimetype) {
            final String filetype = mimetypeMap.get(mimetype);
            if (StringUtil.isBlank(filetype)) {
                return defaultValue;
            }
            return filetype;
        }
    
        public String getDefaultValue() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          SampleElements<E> samples = delegate.samples();
          List<E> samplesList = new ArrayList<>(samples.asList());
          sort(samplesList, comparator);
          this.firstInclusive = samplesList.get(0);
          this.lastInclusive = samplesList.get(samplesList.size() - 1);
        }
    
        public final TestSortedSetGenerator<E> getInnerGenerator() {
          return delegate;
        }
    
        public final Bound getTo() {
          return to;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

            // TODO: This could probably use InputChanges API
            File destinationDirectory = getDestinationDirectory().get().getAsFile();
            getFs().delete(spec -> spec.delete(destinationDirectory));
            destinationDirectory.mkdirs();
    
            Path adocDir = getDocumentationRoot().get().getAsFile().toPath();
            getDocumentationFiles().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(adocFile -> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/DocMap.java

        }
    
        @Override
        public boolean containsValue(final Object value) {
            return parent.containsValue(value);
        }
    
        @Override
        public Object get(final Object key) {
            return parent.get(key);
        }
    
        @Override
        public Object put(final String key, final Object value) {
            return parent.put(key, value);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

          // expected
        }
    
        val logs = ShadowLog.getLogsForTag("testHttpLoggingInterceptor")
        assertThat(logs.map { it.type }).containsOnly(Log.INFO)
        assertThat(logs.map { it.msg }).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        }
    
        public OptionalEntity<CharMappingItem> getCharMappingItem(final String dictId, final long id) {
            return getCharMappingFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

        }
    
        public OptionalEntity<ProtwordsItem> getProtwordsItem(final String dictId, final long id) {
            return getProtwordsFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                if (protwordsItem.getId() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top