Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 289 for 110 (0.01 seconds)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code maximumWeight} is negative
       * @throws IllegalStateException if a maximum weight or size was already set
       * @since 11.0
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> maximumWeight(long maximumWeight) {
        checkState(
            this.maximumWeight == UNSET_INT,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Tables.java

       *
       * <p>The returned table will be serializable if the specified table is serializable.
       *
       * <p>Consider using an {@link ImmutableTable}, which is guaranteed never to change.
       *
       * @since 11.0
       */
      public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          Table<R, C, V> unmodifiableTable(Table<? extends R, ? extends C, ? extends V> table) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/BufferCacheImplTest.java

            @Test
            @DisplayName("Negative maxBuffers throws immediately in constructor")
            void negativeMaxBuffersThrows() {
                assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10));
            }
    
            @Test
            @DisplayName("Negative maxSize throws when allocating a new buffer")
            void negativeMaxSizeThrowsOnAllocation() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. cmd/metrics-v3-system-drive.go

    // label constants
    const (
    	driveL      = "drive"
    	poolIndexL  = "pool_index"
    	setIndexL   = "set_index"
    	driveIndexL = "drive_index"
    
    	apiL = "api"
    
    	sectorSize = uint64(512)
    	kib        = float64(1 << 10)
    
    	driveHealthOffline = float64(0)
    	driveHealthOnline  = float64(1)
    	driveHealthHealing = float64(2)
    )
    
    var allDriveLabels = []string{driveL, poolIndexL, setIndexL, driveIndexL}
    
    const (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Optional.java

       *
       * {@snippet :
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
       * @since 11.0
       */
      public abstract Set<T> asSet();
    
      /**
       * If the instance is present, it is transformed with the given {@link Function}; otherwise,
       * {@link Optional#absent} is returned.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. internal/dsync/drwmutex_test.go

    func TestRWMutex(t *testing.T) {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
    	n := 100
    	if testing.Short() {
    		n = 5
    	}
    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    	hammerRWMutex(t, 10, 1, n)
    	hammerRWMutex(t, 10, 3, n)
    	hammerRWMutex(t, 10, 10, n)
    	hammerRWMutex(t, 10, 5, n)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    31,30,31,30,31];if((e%400===0||e%4===0&&e%100!==0)&&(j[1]=29),f<1||f>12||g<1||g>j[f-1])return!1;c=c.substring(2,c.length);for(var k="",l=0;l<c.length;l++)k+=((l+1)%2+1)*c.substring(l,l+1);var m=0;for(l=0;l<k.length;l++)m+=parseInt(k.substring(l,l+1),10);return m%10===0},errorMessage:"",errorMessageKey:"badSecurityNumber"}),a.formUtils.addValidator({name:"swecounty",validatorFunction:function(b){return b=b.toLowerCase(),a.inArray(b,this.counties)!==-1||"län"!==b.substr(-3).toLocaleLowerCase()&&a.inArray(b+"s...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 6.4K bytes
    - Click Count (1)
  8. guava/src/com/google/common/base/Optional.java

       *
       * {@snippet :
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
       * @since 11.0
       */
      public abstract Set<T> asSet();
    
      /**
       * If the instance is present, it is transformed with the given {@link Function}; otherwise,
       * {@link Optional#absent} is returned.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. docs/distributed/CONFIG.md

    - Mixing `local-path` and `distributed-path` is not allowed, doing so would cause MinIO to refuse starting the server.
    - Ellipses and bracket notation (e.g. `{1...10}`) are allowed.
    
    > NOTE: MinIO environmental variables still take precedence over the `config.yaml` file, however `config.yaml` is preferred over MinIO internal config KV settings via `mc admin config set alias/ <sub-system>`.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 25 02:30:18 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertThat(cache.get(0, loader)).isEqualTo(4);
      }
    
      @Test
      public void sizeConstraint() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().maximumSize(4).build();
    
        cache.put(1, 10);
        cache.put(2, 20);
        cache.put(3, 30);
        cache.put(4, 40);
        cache.put(5, 50);
    
        assertThat(cache.getIfPresent(10)).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top