Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for newSpec (2.91 sec)

  1. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainInputTest.groovy

            def base = new JavaToolchainInput(newSpec(11))
            def diff = new JavaToolchainInput(newSpec(14))
    
            expect:
            base.languageVersion != diff.languageVersion
            base.vendor == diff.vendor
            base.implementation == diff.implementation
        }
    
        def "change in vendor is a different input"() {
            given:
            def base = new JavaToolchainInput(newSpec(11, "adoptopenjdk"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/api/persistentvolume/util_test.go

    			DropDisabledSpecFields(tc.newSpec, tc.oldSpec)
    			if !reflect.DeepEqual(tc.newSpec, tc.expectNewSpec) {
    				t.Error(cmp.Diff(tc.newSpec, tc.expectNewSpec))
    			}
    			if !reflect.DeepEqual(tc.oldSpec, tc.expectOldSpec) {
    				t.Error(cmp.Diff(tc.oldSpec, tc.expectOldSpec))
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. pkg/registry/core/persistentvolumeclaim/strategy.go

    	newPvc := obj.(*api.PersistentVolumeClaim)
    	oldPvc := old.(*api.PersistentVolumeClaim)
    	opts := validation.ValidationOptionsForPersistentVolumeClaim(newPvc, oldPvc)
    	errorList := validation.ValidatePersistentVolumeClaim(newPvc, opts)
    	return append(errorList, validation.ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc, opts)...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 20:58:25 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. pkg/quota/v1/install/update_filter.go

    		case schema.GroupResource{Resource: "persistentvolumeclaims"}:
    			oldPVC := oldObj.(*v1.PersistentVolumeClaim)
    			newPVC := newObj.(*v1.PersistentVolumeClaim)
    			return core.RequiresQuotaReplenish(newPVC, oldPVC)
    		}
    
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 08 22:39:55 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/ExecHandleFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.process.internal;
    
    public interface ExecHandleFactory {
        ExecHandleBuilder newExec();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 727 bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KillProcessAvailability.groovy

                //On some windowses, taskkill does not seem to work when triggered from java
                //On our CIs this works fine
                def e = TestFiles.execHandleFactory().newExec()
                        .commandLine("taskkill.exe", "/?")
                        .redirectErrorStream()
                        .workingDir(new File(".").absoluteFile) //does not matter
                        .build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tests/helper_test.go

    func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) {
    	if pet.ID != 0 {
    		var newPet Pet
    		if err := db(unscoped).Where("id = ?", pet.ID).First(&newPet).Error; err != nil {
    			t.Fatalf("errors happened when query: %v", err)
    		} else {
    			AssertObjEqual(t, newPet, pet, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name")
    			AssertObjEqual(t, newPet, expect, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name")
    		}
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy

    import org.gradle.process.internal.ExecHandle
    import org.gradle.process.internal.ExecHandleBuilder
    
    class ScriptExecuter {
        @Delegate
        ExecHandleBuilder builder = TestFiles.execHandleFactory().newExec()
    
        @Override
        ExecHandle build() {
            if (OperatingSystem.current().isWindows()) {
                def theArgs = ['/d', '/c', executable.replace('/', File.separator)] + getArgs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

    	bigThousand = big.NewInt(1000)
    	big1024     = big.NewInt(1024)
    
    	// Commonly needed inf.Dec values-- treat as read only!
    	decZero = inf.NewDec(0, 0)
    	decOne  = inf.NewDec(1, 0)
    
    	// Largest (in magnitude) number allowed.
    	maxAllowed = infDecAmount{inf.NewDec((1<<63)-1, 0)} // == max int64
    
    	// The maximum value we can represent milli-units for.
    	// Compare with the return value of Quantity.Value() to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
  10. cni/pkg/util/executil.go

    package util
    
    import (
    	"bytes"
    	"errors"
    	"os/exec"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    type ExecList struct {
    	Cmd  string
    	Args []string
    }
    
    func NewExec(cmd string, args []string) *ExecList {
    	return &ExecList{
    		Cmd:  cmd,
    		Args: args,
    	}
    }
    
    func ExecuteOutput(cmd string, args ...string) (string, error) {
    	externalCommand := exec.Command(cmd, args...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top