Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 742 for addAction (0.37 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/amount_test.go

    			if c != test.a {
    				t.Errorf("%v: overflow addition mutated source: %d", test, c)
    			}
    		}
    
    		// addition is commutative
    		c = test.b
    		if ok := c.Add(test.a); ok != test.ok {
    			t.Errorf("%v: unexpected ok: %t", test, ok)
    		}
    		if ok {
    			if c != test.c {
    				t.Errorf("%v: unexpected result: %d", test, c)
    			}
    		} else {
    			if c != test.b {
    				t.Errorf("%v: overflow addition mutated source: %d", test, c)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 20:54:15 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. test/const2.go

    const a = 1e+500000000
    const b = a * a // ERROR "constant multiplication overflow|not representable"
    const c = b * b
    
    const MaxInt512 = (1<<256 - 1) * (1<<256 + 1)
    const _ = MaxInt512 + 1  // ERROR "constant addition overflow"
    const _ = MaxInt512 ^ -1 // ERROR "constant bitwise XOR overflow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 21:49:31 UTC 2020
    - 1008 bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/configurators/StandaloneModeTestServiceRegistrar.kt

    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestServiceRegistrar
    import org.jetbrains.kotlin.test.services.TestServices
    
    /**
     * Registers services specific to Standalone mode *tests*, in addition to the Standalone production services registered by
     * [FirStandaloneServiceRegistrar][org.jetbrains.kotlin.analysis.api.standalone.base.project.structure.FirStandaloneServiceRegistrar].
     */
    @OptIn(KaAnalysisApiInternals::class)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/ConfigureAccessor.kt

        }
    
        interface Custom : ConfigureAccessor {
            val customAccessorIdentifier: String
        }
    
        interface ConfiguringLambdaArgument : ConfigureAccessor
    
        // TODO: configure all elements by addition key?
        // TODO: Do we want to support configuring external objects?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy

        }
    
        def "non-trivial addition (NormalizedPathFingerprintCompareStrategy)"() {
            expect:
            changes(NORMALIZED,
                ["new/one": fingerprint("one"), "new/two": fingerprint("two")],
                ["old/one": fingerprint("one")]
            ) == [added("new/two": "two")]
        }
    
        def "non-trivial addition with absolute paths (AbsolutePathFingerprintCompareStrategy)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_sync_atomic_import.txt

    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    [!GOEXPERIMENT:coverageredesign] skip
    
    go test -short -cover -covermode=atomic -coverpkg=coverdep/p1 coverdep
    
    # In addition to the above, test to make sure there is no funny
    # business if we try "go test -cover" in atomic mode targeting
    # sync/atomic itself (see #57445). Just a short test run is needed
    # since we're mainly interested in making sure the test builds and can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 00:18:30 UTC 2024
    - 1011 bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

            regularFile("one", 0x1234)      | regularFile("two", 0x1234)
            missing("one")                  | missing("two")
            directoryWithTwoChildren("one") | directoryWithTwoChildren("two")
        }
    
        def "trivial addition of #current.type"() {
            expect:
            changes(
                FileSystemSnapshot.EMPTY,
                current
            ) == expectedChanges
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. src/go/ast/commentmap_test.go

    	
    	// also associated with s2
    	s2() // line comment for s2
    }
    // associated with f1
    // also associated with f1
    
    // associated with f2
    
    // f2
    func f2() {
    }
    
    func f3() {
    	i := 1 /* 1 */ + 2 // addition
    	_ = i
    }
    
    // the very last comment
    `
    
    // res maps a key of the form "line number: node type"
    // to the associated comments' text.
    var res = map[string]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/LockMode.java

     */
    
    package org.gradle.api.artifacts.dsl;
    
    /**
     * The supported lock modes:
     * <ul>
     *     <li>{@code DEFAULT} will load the lock state and verify resolution matches it</li>
     *     <li>{@code STRICT} in addition to the {@code DEFAULT} behaviour, will fail resolution if a locked configuration does not have lock state defined</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/admission.go

    	// Decorators is a list of admission decorator to wrap around the admission plugins
    	Decorators admission.Decorators
    }
    
    // NewAdmissionOptions creates a new instance of AdmissionOptions
    // Note:
    //
    //	In addition it calls RegisterAllAdmissionPlugins to register
    //	all generic admission plugins.
    //
    //	Provides the list of RecommendedPluginOrder that holds sane values
    //	that can be used by servers that don't care about admission chain.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top