Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 442 for mant (0.16 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link SortedMultiset} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	serverPools.FilterMaxUsed(100 - (100 * diskReserveFraction))
    	total := serverPools.TotalAvailable()
    	if total == 0 {
    		return -1
    	}
    	// choose when we reach this many
    	choose := rand.Uint64() % total
    	atTotal := uint64(0)
    	for _, pool := range serverPools {
    		atTotal += pool.Available
    		if atTotal > choose && pool.Available > 0 {
    			return pool.Index
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/MoreFiles.java

    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/MoreFiles.java

    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
     * Static utilities for use with {@link Path} instances, intended to complement {@link Files}.
     *
     * <p>Many methods provided by Guava's {@code Files} class for {@link java.io.File} instances are
     * now available via the JDK's {@link java.nio.file.Files} class for {@code Path} - check the JDK's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Collection<String> set = newHashSet("a", "b");
        Iterator<String> iterator = skip(set, 2).iterator();
        try {
          iterator.next();
        } catch (NoSuchElementException suppressed) {
          // We want remove() to fail even after a failed call to next().
        }
        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
      public void testSkip_allOfMutableList_modifiable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<T> list = asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
        Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray);
        verifyScenario(starter, 0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<T> list = asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
        Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray);
        verifyScenario(starter, 0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

     * Ordering} to be of type {@code Comparator} instead. However, at this time we have no plan to
     * <i>deprecate</i> this class.
     *
     * <p>Many replacements involve adopting {@code Stream}, and these changes can sometimes make your
     * code verbose. Whenever following this advice, you should check whether {@code Stream} could be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    		args = append([]interface{}{p.lex.File(), p.lineNum}, args...)
    	}
    	fmt.Fprintf(p.errorWriter, format, args...)
    	p.errorCount++
    	if p.errorCount > 10 && !*flags.AllErrors {
    		log.Fatal("too many errors")
    	}
    }
    
    func (p *Parser) pos() src.XPos {
    	return p.ctxt.PosTable.XPos(src.MakePos(p.lex.Base(), uint(p.lineNum), 0))
    }
    
    func (p *Parser) Parse() (*obj.Prog, bool) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    					got := mergeXLV2Versions(test.quorum, true, 0, test.input...)
    					if !reflect.DeepEqual(test.want, got) {
    						t.Errorf("want %v != got %v", test.want, got)
    					}
    				})
    			}
    		})
    	}
    }
    
    func Test_mergeEntryChannels(t *testing.T) {
    	dataZ, err := os.ReadFile("testdata/xl-meta-merge.zip")
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top