Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for setDist (0.14 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

            this.daemonBaseDir = context.daemonBaseDir
            this.requiresDaemon = !GradleContextualExecuter.embedded
            this.testWorkDirProvider = testWorkDirProvider
        }
    
        void setDist(GradleDistribution dist) {
            this.dist = dist
        }
    
        /**
         * Specifies that the test use its own Gradle user home dir and daemon registry.
         */
        void requireIsolatedUserHome() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

        }
    
        // reflectively invoked by ToolingApiExecution
        void setTargetDist(GradleDistribution targetDist) {
            targetGradleDistribution = targetDist
            toolingApi.setDist(targetGradleDistribution)
        }
    
        GradleDistribution getTargetDist() {
            if (targetGradleDistribution == null) {
                throw new IllegalStateException("targetDist is not yet set by the testing framework")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. schema/field.go

    			case uint32:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int64:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int16:
    				field.ReflectValueOf(ctx, value).SetUint(uint64(data))
    			case int32:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. src/testing/quick/quick.go

    	case reflect.Int16:
    		v.SetInt(randInt64(rand))
    	case reflect.Int32:
    		v.SetInt(randInt64(rand))
    	case reflect.Int64:
    		v.SetInt(randInt64(rand))
    	case reflect.Int8:
    		v.SetInt(randInt64(rand))
    	case reflect.Int:
    		v.SetInt(randInt64(rand))
    	case reflect.Uint16:
    		v.SetUint(uint64(randInt64(rand)))
    	case reflect.Uint32:
    		v.SetUint(uint64(randInt64(rand)))
    	case reflect.Uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/TestEntity.java

    /**
     * @author shinsuke
     *
     */
    public class TestEntity {
        private String title;
    
        private String body;
    
        private List<String> list;
    
        public List<String> getList() {
            return list;
        }
    
        public void setList(final List<String> list) {
            this.list = list;
        }
    
        public String getTitle() {
            return title;
        }
    
        public void setTitle(final String title) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/valuefuzz.go

    		case reflect.Float32, reflect.Float64:
    			obj.SetFloat(obj.Float()*2.0 + 1.0)
    		case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
    			obj.SetInt(obj.Int() + 1)
    		case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint:
    			obj.SetUint(obj.Uint() + 1)
    		default:
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    		}
    		return nil
    	}
    }
    
    // StorageInjectingListErrors injects a dummy error for first N GetList calls.
    type StorageInjectingListErrors struct {
    	storage.Interface
    
    	lock   sync.Mutex
    	Errors int
    }
    
    func (s *StorageInjectingListErrors) GetList(ctx context.Context, key string, opts storage.ListOptions, listObj runtime.Object) error {
    	err := func() error {
    		s.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/ipset/testing/fake_test.go

    	}
    
    	setList, err := fake.ListSets()
    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if len(setList) != 2 {
    		t.Errorf("Expected 2 sets, got %d", len(setList))
    	}
    	expectedSets := sets.NewString("foo", "bar")
    	if !expectedSets.Equal(sets.NewString(setList...)) {
    		t.Errorf("Unexpected sets mismatch, expected: %v, got: %v", expectedSets, setList)
    	}
    
    	// Destroy a given set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/math/big/bits_test.go

    	x := NewInt(0)
    	for _, b := range bits {
    		badj := b - min
    		// propagate carry if necessary
    		for x.Bit(badj) != 0 {
    			x.SetBit(x, badj, 0)
    			badj++
    		}
    		x.SetBit(x, badj, 1)
    	}
    
    	// create corresponding float
    	z := new(Float).SetInt(x) // normalized
    	if e := int64(z.exp) + int64(min); MinExp <= e && e <= MaxExp {
    		z.exp = int32(e)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    	}
    }
    
    func BenchmarkBitset(b *testing.B) {
    	z := new(Int)
    	z.SetBit(z, 512, 1)
    	b.ResetTimer()
    	for i := b.N - 1; i >= 0; i-- {
    		z.SetBit(z, i&512, 1)
    	}
    }
    
    func BenchmarkBitsetNeg(b *testing.B) {
    	z := NewInt(-1)
    	z.SetBit(z, 512, 0)
    	b.ResetTimer()
    	for i := b.N - 1; i >= 0; i-- {
    		z.SetBit(z, i&512, 0)
    	}
    }
    
    func BenchmarkBitsetOrig(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top