Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for unbound (0.13 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRule.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model.internal.report.unbound;
    
    import com.google.common.collect.ImmutableList;
    import javax.annotation.concurrent.NotThreadSafe;
    import javax.annotation.concurrent.ThreadSafe;
    
    import java.io.File;
    import java.util.List;
    
    @ThreadSafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy

    - Method invalidRule(org.gradle.api.Task) is not a valid rule method: A method annotated with @Mutate must have void return type.''')
        }
    
        def "unbound inputs of scoped rules are reported and their scope is shown"() {
            when:
            buildScript '''
                class UnboundRuleSource extends RuleSource {
                    @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/net/tcpsock_unix_test.go

    			var dialer Dialer
    			// Try to connect to a real host on a port
    			// that it is not listening on.
    			_, err := dialer.DialContext(ctx, "tcp", "golang.org:3")
    			if err == nil {
    				t.Errorf("Dial to unbound port succeeded on attempt %d", i)
    			}
    			<-sem
    		}(i)
    	}
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelDslIntegrationTest.groovy

                    $("unknown")
                  }
                }
            '''
    
            then:
            fails "tasks"
            failure.assertHasCause('''The following model rules could not be applied due to unbound inputs and/or subjects:
    
      tasks { ... } @ build.gradle line 3, column 15
        subject:
          - tasks Object
        inputs:
          - unknown Object (@ line 4) [*]
    
    ''')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/math/big/alias_test.go

    }
    
    // checkAliasingOneArg checks if f returns a correct result when v and x alias.
    //
    // f is a function that takes x as an argument, doesn't modify it, sets v to the
    // result, and returns v. It is the function signature of unbound methods like
    //
    //	func (v *big.Int) m(x *big.Int) *big.Int
    //
    // v and x are two random Int values. v is randomized even if it will be
    // overwritten to test for improper buffer reuse.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleBindingTest.groovy

            where:
            order << [ProvidesStringOne, MutatesS1AsInteger].permutations()
        }
    
        static class ReadS1AsInteger extends RuleSource {
            @Mutate
            void m(Integer unbound, @Path("s1") Integer s1) {
    
            }
        }
    
        def "incompatible readable type binding of mutate rule is detected irrespective of discovery order - #order.simpleName"() {
            when:
            order.each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

        }
    
        @Override
        public void setHidden(boolean hidden) {
            this.hidden = hidden;
        }
    
        public void notifyFired(RuleBinder binder) {
            assert binder.isBound() : "RuleBinder must be in a bound state";
            for (ModelBinding inputBinding : binder.getInputBindings()) {
                ModelNodeInternal node = inputBinding.getNode();
                if (dependencies == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/netlink_linux.go

    		// "EEXIST" will be returned if the address is already bound to device
    		if err == unix.EEXIST {
    			return true, nil
    		}
    		return false, fmt.Errorf("error bind address: %s to interface: %s, err: %v", address, devName, err)
    	}
    	return false, nil
    }
    
    // UnbindAddress makes sure IP address is unbound from the network interface.
    func (h *netlinkHandle) UnbindAddress(address, devName string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    		w.Msg = ""
    	}
    	return
    }
    
    func Unmount(name, old string) (err error) {
    	fixwd()
    	oldp, err := BytePtrFromString(old)
    	if err != nil {
    		return err
    	}
    	oldptr := uintptr(unsafe.Pointer(oldp))
    
    	var r0 uintptr
    	var e syscall.ErrorString
    
    	// bind(2) man page: If name is zero, everything bound or mounted upon old is unbound or unmounted.
    	if name == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  10. src/syscall/syscall_plan9.go

    	}
    	return
    }
    
    func Unmount(name, old string) (err error) {
    	if fixwd(name, old) {
    		defer runtime.UnlockOSThread()
    	}
    	oldp, err := BytePtrFromString(old)
    	if err != nil {
    		return err
    	}
    	oldptr := uintptr(unsafe.Pointer(oldp))
    
    	var r0 uintptr
    	var e ErrorString
    
    	// bind(2) man page: If name is zero, everything bound or mounted upon old is unbound or unmounted.
    	if name == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top