Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 434 for equivalently (0.22 sec)

  1. src/internal/types/testdata/fixedbugs/issue60460.go

    	return NewSet(s.rules)
    }
    
    type Rules[T any] interface {
    	Hash(T) int
    	Equivalent(T, T) bool
    	SameRules(Rules[T]) bool
    }
    
    type testRules struct{}
    
    func newTestRules() Rules[int] {
    	return testRules{}
    }
    
    func (r testRules) Hash(val int) int {
    	return val % 16
    }
    
    func (r testRules) Equivalent(val1 int, val2 int) bool {
    	return val1 == val2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/internal/bytealg/equal_generic.go

    // license that can be found in the LICENSE file.
    
    package bytealg
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    //
    // Equal is equivalent to bytes.Equal.
    // It is provided here for convenience,
    // because some packages cannot depend on bytes.
    func Equal(a, b []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 628 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

      }
    
      public void testEquivalentTo() {
        Predicate<@Nullable Object> equalTo1 = Equivalence.equals().equivalentTo("1");
        assertTrue(equalTo1.apply("1"));
        assertFalse(equalTo1.apply("2"));
        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationsList.kt

        public val annotationInfos: List<KaAnnotation>
            get() = this
    
        /**
         * Checks if entity contains annotation with specified [classId].
         *
         * The semantic is equivalent to
         * ```
         * annotationsList.hasAnnotation(classId) == annotationsList.annotations.any { it.classId == classId }
         * ```
         * @param classId [ClassId] to search
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15439.go

    func main() {
    	a := &struct{ x int }{}
    	b := &struct{ x int "" }{}
    
    	ta := reflect.TypeOf(a)
    	tb := reflect.TypeOf(b)
    
    	// Ensure cmd/compile treats absent and empty tags as equivalent.
    	a = b
    
    	// Ensure package reflect treats absent and empty tags as equivalent.
    	if !tb.AssignableTo(ta) {
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 21:28:45 UTC 2016
    - 514 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/kotlin/build.gradle.kts

    dependencies {
        // short-hand notation with !!
        implementation("org.slf4j:slf4j-api:1.7.15!!")
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
               strictly("1.7.15")
            }
        }
    
        // or...
        implementation("org.slf4j:slf4j-api:[1.7, 1.8[!!1.7.25")
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
               strictly("[1.7, 1.8[")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/groovy/build.gradle

    dependencies {
        // short-hand notation with !!
        implementation('org.slf4j:slf4j-api:1.7.15!!')
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
               strictly '1.7.15'
            }
        }
    
        // or...
        implementation('org.slf4j:slf4j-api:[1.7, 1.8[!!1.7.25')
        // is equivalent to
        implementation('org.slf4j:slf4j-api') {
            version {
               strictly '[1.7, 1.8['
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/helpers_linux.go

    */
    
    package kuberuntime
    
    import (
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	"math"
    )
    
    const (
    	milliCPUToCPU = 1000
    
    	// 100000 microseconds is equivalent to 100ms
    	quotaPeriod = 100000
    	// 1000 microseconds is equivalent to 1ms
    	// defined here:
    	// https://github.com/torvalds/linux/blob/cac03ac368fabff0122853de2422d4e17a32de08/kernel/sched/core.c#L10546
    	minQuotaPeriod = 1000
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. hack/README.md

    ## Key scripts
    
    * [`verify-all.sh`](verify-all.sh): This script is a vestigial redirection, Please do not add "real" logic. It is equivalent to `make verify`.
    * [`update-all.sh`](update-all.sh): This script is a vestigial redirection, Please do not add "real" logic. 
    The `true` target of this makerule is `hack/make-rules/update.sh`.It is equivalent to `make update`.
    
    ## Attention
    Note that all scripts must be run from the Kubernetes root directory. 
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 16 02:12:18 UTC 2020
    - 1K bytes
    - Viewed (0)
  10. hack/test-go.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script runs all *_test.go files. It is equivalent to `make test`.
    # Usage: `hack/test-go.sh` or `make test`.
    # Note: This script is a vestigial redirection. Please do not add "real" logic.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 28 00:27:40 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top