Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2251 - 2260 of 3,507 for int (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          multiset.add(sampleElement, 2);
          fail("add(Object, int) succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
        assertCollectionsAreEquivalent(multiset, copy);
    
        try {
          multiset.remove(sampleElement, 2);
          fail("remove(Object, int) succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
        Iterator<List<T>> permutations = permutationSet.iterator();
        for (int i = 0; i < expected; i++) {
          assertTrue(permutations.hasNext());
          permutations.next();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Functions.java

            FunctionForMapNoDefault<?, ?> that = (FunctionForMapNoDefault<?, ?>) o;
            return map.equals(that.map);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return map.hashCode();
        }
    
        @Override
        public String toString() {
          return "Functions.forMap(" + map + ")";
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    	"context"
    	"encoding/json"
    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/cachevalue"
    )
    
    type usageTestFile struct {
    	name string
    	size int
    }
    
    func TestDataUsageUpdate(t *testing.T) {
    	base := t.TempDir()
    	const bucket = "bucket"
    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java

    import org.opensearch.index.IndexSettings;
    import org.opensearch.index.analysis.AbstractTokenFilterFactory;
    
    public class KuromojiKatakanaStemmerFactory extends AbstractTokenFilterFactory {
    
        private final int minimumLength;
    
        public KuromojiKatakanaStemmerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
            super(indexSettings, name, settings);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            String result = scoreUpdater.execute();
            assertTrue(result.contains("Runtime exception message"));
        }
    
        // Test large number of boosters
        public void test_execute_manyBoosters() {
            for (int i = 0; i < 100; i++) {
                TestScoreBooster booster = new TestScoreBooster(i);
                scoreUpdater.addScoreBooster(booster);
            }
    
            String result = scoreUpdater.execute();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationTest.java

            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
                largeRequestBuffer[i] = (byte) (i % 256);
            }
            for (int i = 0; i < largeResponseBuffer.length; i++) {
                largeResponseBuffer[i] = (byte) ((i * 2) % 256);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. cmd/metrics-v2_test.go

    		t.Fatalf("Expected %d api=PutObject metrics but got %d", expMetricsPerAPI, len(capitalPutObjects))
    	}
    
    	// Deterministic ordering
    	slices.SortFunc(capitalPutObjects, func(a MetricV2, b MetricV2) int {
    		le1 := a.VariableLabels["le"]
    		le2 := a.VariableLabels["le"]
    		return strings.Compare(le1, le2)
    	})
    	if le := capitalPutObjects[0].VariableLabels["le"]; le != "0.500" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

      static final Iterable<LegacyComparable> VALUES_BACKWARD = asList(Z, Y, X);
    
      private final String value;
    
      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
        // This method is spec'd to throw CCE if object is of the wrong type
        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top