Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,270 for testInt (0.27 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.Collections;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    import com.google.common.base.Predicates;
    import com.google.common.collect.testing.IteratorFeature;
    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        try {
          getList().get(-1);
          fail("get(-1) should throw");
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testGet_tooLarge() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        try {
          getList().get(-1);
          fail("get(-1) should throw");
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testGet_tooLarge() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        }
      }
    
      public void testGet_list() {
        testGetOnAbc(newArrayList("a", "b", "c"));
      }
    
      public void testGet_emptyList() {
        testGetOnEmpty(Collections.<String>emptyList());
      }
    
      public void testGet_sortedSet() {
        testGetOnAbc(ImmutableSortedSet.of("b", "c", "a"));
      }
    
      public void testGet_emptySortedSet() {
        testGetOnEmpty(ImmutableSortedSet.<String>of());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

        }
      }
    
      public void testGet_list() {
        testGetOnAbc(newArrayList("a", "b", "c"));
      }
    
      public void testGet_emptyList() {
        testGetOnEmpty(Collections.<String>emptyList());
      }
    
      public void testGet_sortedSet() {
        testGetOnAbc(ImmutableSortedSet.of("b", "c", "a"));
      }
    
      public void testGet_emptySortedSet() {
        testGetOnEmpty(ImmutableSortedSet.<String>of());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  7. clause/set_test.go

    package clause_test
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestSet(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    			[]interface{}{1},
    		},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{"", 0},
    		tests: []testFnc{
    			testRemaining{0, 0},
    			testRead{0, "", io.EOF},
    			testRead{1, "", io.EOF},
    			testWriteTo{nil, 0, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{"", 1},
    		tests: []testFnc{
    			testRemaining{1, 1},
    			testRead{5, "", io.ErrUnexpectedEOF},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IteratorsTest.java

    import com.google.common.base.Predicates;
    import com.google.common.collect.testing.IteratorFeature;
    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/callback_windows.go

    	}
    	return i;
    #else
    	return 0;
    #endif
    }
    */
    import "C"
    
    import (
    	"internal/testenv"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallersSEH(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t) // This test requires inlining.
    	if runtime.Compiler != "gc" {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top