Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1831 - 1840 of 2,325 for longp (0.05 seconds)

  1. guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        @LazyInit private transient @Nullable Integer size;
    
        @Override
        public int size() {
          // racy single-check idiom
          Integer result = size;
          if (result == null) {
            long total = 0;
            for (Range<C> range : ranges) {
              total += ContiguousSet.create(range, domain).size();
              if (total >= Integer.MAX_VALUE) {
                break;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

        // CONTAINS_VALUE_RETRIES increases, though without locking it is theoretically possible.
        Segment<K, V, E, S>[] segments = this.segments;
        long last = -1L;
        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V, E, S> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

         * @param currentTime the current timestamp
         * @return an optional WebConfig entity
         */
        public static OptionalEntity<WebConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebConfig()).map(entity -> {
                    entity.setCreatedBy(username);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

              return integers().next(value);
            }
    
            @Override
            public Integer previous(Integer value) {
              return integers().previous(value);
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              return integers().distance(start, end);
            }
    
            @Override
            public Integer minValue() {
              return integers().minValue();
            }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

           */
          allowGetToComplete.await(1, SECONDS);
          throw new RuntimeException("expected, should be caught");
        }
    
        @Override
        public V get(long timeout, TimeUnit unit) {
          throw new AssertionFailedError();
        }
    
        @Override
        public boolean isCancelled() {
          throw new AssertionFailedError();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testMultipleEncodingCallsBeforeParam() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Multiple encoding calls should work as long as no params are added yet
            request.encoding("UTF-8");
            request.encoding("ISO-8859-1");
            request.encoding("UTF-16");
    
            assertEquals("UTF-16", request.encoding());
        }
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * undefined which (if any) of these modifications will be reflected in the result.
       */
      @Override
      public int size() {
        long sum = 0L;
        for (AtomicInteger value : countMap.values()) {
          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * We override the toArray methods for two reasons:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                            final SearchHits innerSearchHits = innerHits.get(fessConfig.getQueryCollapseInnerHitsName());
                            if (innerSearchHits != null) {
                                final long totalHits = innerSearchHits.getTotalHits().value();
                                if (totalHits > 1) {
                                    docMap.put(fessConfig.getQueryCollapseInnerHitsName() + "_count", totalHits);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            return StringUtil.isNotBlank(region) ? region : "us-east-1";
        }
    
        @Override
        public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) {
            try {
                final PutObjectRequest request =
                        PutObjectRequest.builder().bucket(bucket).key(objectName).contentType(contentType).contentLength(size).build();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals("  word  ", item3.getInput());
            assertEquals("  word  ", item3.toLineString());
        }
    
        @Test
        public void test_longStrings() {
            // Test with long strings
            StringBuilder longString = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longString.append("word");
            }
            String longInput = longString.toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top