Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,673 for checkSeq (0.26 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public final boolean trySetAccessible() {
        // We can't call accessibleObject.trySetAccessible since that was added in Java 9 and this code
        // should work on Java 8. So we emulate it this way.
        try {
          accessibleObject.setAccessible(true);
          return true;
        } catch (Exception e) { // sneaky checked exception
          return false;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  2. tests/integration/pilot/original_src_addr_test.go

    			}
    			checkOriginalSrcIP(t, apps.A[0], apps.Tproxy[0], srcIps)
    		})
    }
    
    func checkOriginalSrcIP(t framework.TestContext, from echo.Caller, to echo.Target, expected []string) {
    	t.Helper()
    	checker := func(result echo.CallResult, inErr error) error {
    		// Check that each response saw one of the workload IPs for the src echo instance
    		for _, r := range result.Responses {
    			found := false
    			for _, ip := range expected {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/version.go

    // is allowed to use version v. If the position is unknown, the specified
    // module version (Config.GoVersion) is used. If that version is invalid,
    // allowVersion returns true.
    func (check *Checker) allowVersion(at poser, v goVersion) bool {
    	fileVersion := check.conf.GoVersion
    	if pos := at.Pos(); pos.IsKnown() {
    		fileVersion = check.versions[pos.FileBase()]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/go/types/interface.go

    	. "internal/types/errors"
    )
    
    // ----------------------------------------------------------------------------
    // API
    
    // An Interface represents an interface type.
    type Interface struct {
    	check     *Checker     // for error reporting; nil once type set is computed
    	methods   []*Func      // ordered list of explicitly declared methods
    	embeddeds []Type       // ordered list of explicitly embedded elements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/readme.md

    `org.gradle.integtests.fixtures.executer.DefaultGradleDistribution.worksWith(org.gradle.internal.jvm.Jvm)` is the method that checks this.
    This is used by `AbstractCompatibilityTestInterceptor` to filter out incompatible Gradle Versions.
    Also, all TestPrecondition annotations are checked in an interceptor (e.g. TestPrecondition.NOT_MAC_OS_X). 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 21:50:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/decls2/decls2b.go

    func f_double /* ERROR "redeclared" */ () {}
    
    // Blank methods need to be type-checked.
    // Verify by checking that errors are reported.
    func (T /* ERROR "undefined" */ ) _() {}
    func (T1) _(undefined /* ERROR "undefined" */ ) {}
    func (T1) _() int { return "foo" /* ERRORx "cannot use .* in return statement" */ }
    
    // Methods with undefined receiver type can still be checked.
    // Verify by checking that errors are reported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/TasksFromDependentProjects.java

            this(taskName, configurationName, new TaskDependencyChecker(), taskDependencyFactory);
        }
    
        public TasksFromDependentProjects(String taskName, String configurationName, TaskDependencyChecker checker, TaskDependencyFactory taskDependencyFactory) {
            this.taskName = taskName;
            this.configurationName = configurationName;
            this.taskDependencyDelegate = taskDependencyFactory.visitingDependencies(context -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/runtime/unsafe.go

    }
    
    func unsafestringcheckptr(ptr unsafe.Pointer, len64 int64) {
    	unsafestring64(ptr, len64)
    
    	// Check that underlying array doesn't straddle multiple heap objects.
    	// unsafestring64 has already checked for overflow.
    	if checkptrStraddles(ptr, uintptr(len64)) {
    		throw("checkptr: unsafe.String result straddles multiple allocations")
    	}
    }
    
    func panicunsafestringlen() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/go/parser/testdata/typeset.go2

    // with a (type parameter) name are considered array sizes.
    // The term must be a valid expression (it could be a type incl. a
    // tilde term) but the type-checker will complain.
    type (
            _[t] t
            _[t|t] t
    
            // These are invalid and the type-checker will complain.
            _[~t] t
            _[~t|t] t
            _[t|~t] t
            _[~t|~t] t
    )
    
    type _[_ t, t] /* ERROR "missing type constraint" */ t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/NullsFirstOrdering.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering that treats {@code null} as less than all other values. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top