Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2581 - 2590 of 3,790 for news (0.09 sec)

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

      @LazyInit @CheckForNull private transient NavigableSet<E> elementSet;
    
      @Override
      public NavigableSet<E> elementSet() {
        NavigableSet<E> result = elementSet;
        if (result == null) {
          return elementSet = new SortedMultisets.NavigableElementSet<>(this);
        }
        return result;
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        return forwardMultiset().pollLastEntry();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/MediaTypeTest.java

        return getConstantFields()
            .transform(
                new Function<Field, MediaType>() {
                  @Override
                  public MediaType apply(Field input) {
                    try {
                      return (MediaType) input.get(null);
                    } catch (Exception e) {
                      throw new RuntimeException(e);
                    }
                  }
                });
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    // newSignV4ChunkedReader returns a new s3ChunkedReader that translates the data read from r
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          ListenableFuture<? extends V> input,
          Class<X> exceptionType,
          Function<? super X, ? extends V> fallback,
          Executor executor) {
        CatchingFuture<V, X> future = new CatchingFuture<>(input, exceptionType, fallback);
        input.addListener(future, rejectionPropagatingExecutor(executor, future));
        return future;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        List<E> descending = new ArrayList<>();
        for (Iterator<E> i = navigableSet.descendingIterator(); i.hasNext(); ) {
          descending.add(i.next());
        }
        Collections.reverse(descending);
        assertEquals(values, descending);
      }
    
      public void testEmptySubSet() {
        NavigableSet<E> empty = navigableSet.subSet(e0(), false, e0(), false);
        assertEquals(new TreeSet<E>(), empty);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Utf8.java

            break;
          }
        }
    
        if (utf8Length < utf16Length) {
          // Necessary and sufficient condition for overflow because of maximum 3x expansion
          throw new IllegalArgumentException(
              "UTF-8 length does not fit in int: " + (utf8Length + (1L << 32)));
        }
        return utf8Length;
      }
    
      private static int encodedLengthGeneral(CharSequence sequence, int start) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * This method creates a new function that caches the results of the original function,
         * improving performance for repeated calls with the same input.
         *
         * @param callback The original function to be memoized. It takes a String as input and returns a String.
         * @return A new {@code Function<String, String>} that caches the results of the original function.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       *   https://github.com/google/guava/issues/6565
       */
      @SuppressWarnings("AnonymousToLambda")
      static final Supplier<StatsCounter> CACHE_STATS_COUNTER =
          new Supplier<StatsCounter>() {
            @Override
            public StatsCounter get() {
              return new SimpleStatsCounter();
            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    			}
    			want += int64(len(tmp) - len(after))
    
    			return buf[:want], err
    
    		default:
    			return nil, errors.New("unknown minor metadata version")
    		}
    	default:
    		return nil, errors.New("unknown major metadata version")
    	}
    }
    
    func decodeXLHeaders(buf []byte) (versions int, headerV, metaV uint8, b []byte, err error) {
    	hdrVer, buf, err := msgp.ReadUint8Bytes(buf)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    pad = pad == 0 ? 0 : PADDING_SIZE - pad;
                    parameterOffset += pad;
                }
    
                // caclulate parameterDisplacement before calculating new parameterCount
                parameterDisplacement += parameterCount;
    
                int available = maxBufferSize - parameterOffset - pad;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
Back to top