Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 401 for valued (0.53 sec)

  1. test/fixedbugs/bug418.go

    // Issue 3044.
    // Multiple valued expressions in return lists.
    
    package p
    
    func Two() (a, b int)
    
    // F used to compile.
    func F() (x interface{}, y int) {
    	return Two(), 0 // ERROR "single-value context|2\-valued"
    }
    
    // Recursive used to trigger an internal compiler error.
    func Recursive() (x interface{}, y int) {
    	return Recursive(), 0 // ERROR "single-value context|2\-valued"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 557 bytes
    - Viewed (0)
  2. tensorflow/cc/framework/gradient_checker.h

    /// computed and numeric Jacobian matrices where 'xs' and 'ys' are tensors.
    /// X_T and Y_T are the c++ types for the x and y tensors, and JAC_T is a
    /// real-valued type to store the Jacobian derivatives dy/dx.
    /// This function adds operations to the graph associated with 'scope'.
    ///
    /// Examples:
    /// if y = Square(x), where x (and so y) are DT_FLOAT,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:35:17 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. test/fixedbugs/bug175.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func f() (int, bool) { return 0, true }
    
    func main() {
    	x, y := f(), 2 // ERROR "multi|2-valued"
    	_, _ = x, y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 18:13:13 UTC 2023
    - 301 bytes
    - Viewed (0)
  4. test/ken/mfunc.go

    // run
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test simple multi-argument multi-valued function.
    
    package main
    
    func
    main() {
    	var x,y int;
    
    	x,y = simple(10,20,30);
    	if x+y != 65 { panic(x+y); }
    }
    
    func
    simple(ia,ib,ic int) (oa,ob int) {
    	return ia+5, ib+ic;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 386 bytes
    - Viewed (0)
  5. test/fixedbugs/issue18994.go

    // run
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 18994: SSA didn't handle DOT STRUCTLIT for zero-valued
    // STRUCTLIT.
    
    package main
    
    // large struct - not SSA-able
    type T struct {
    	a, b, c, d, e, f, g, h int
    }
    
    func main() {
    	x := T{}.a
    	if x != 0 {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 21:01:51 UTC 2017
    - 399 bytes
    - Viewed (0)
  6. test/fixedbugs/issue19323.go

    package p
    
    func g() {}
    
    func f() {
    	g()[:] // ERROR "g.* used as value|attempt to slice object that is not"
    }
    
    func g2() ([]byte, []byte) { return nil, nil }
    
    func f2() {
    	g2()[:] // ERROR "multiple-value g2.* in single-value context|attempt to slice object that is not|2\-valued g"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 23 19:41:41 UTC 2021
    - 460 bytes
    - Viewed (0)
  7. test/ken/ptrfun.go

    // run
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test method invocation with pointer receivers and function-valued fields.
    
    package main
    
    type C struct {
    	a	int;
    	x	func(p *C)int;
    }
    
    func (this *C) f()int {
    	return this.a;
    }
    
    func
    main() {
    	var v int;
    	var c *C;
    
    	c = new(C);
    	c.a = 6;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 617 bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsTest.groovy

            when:
            settings.ext.dynamicProp = 'value'
    
            then:
            settings.dynamicProp == 'value'
        }
    
        def 'can get and set dynamic properties on extension'() {
            when:
            settings.extensions.dynamicProperty = 'valued'
    
            then:
            settings.dynamicProperty == 'valued'
        }
    
        def 'fails on missing property'() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 01 18:57:54 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/attributes/TestSuiteName.java

    import org.gradle.api.Incubating;
    import org.gradle.api.Named;
    
    /**
     * Attribute to define the test suite name.
     * <p>
     * This attribute is usually found on variants that have the {@link Category} attribute valued at {@link Category#VERIFICATION verification}.
     *
     * @since 7.4
     */
    @Incubating
    public interface TestSuiteName extends Named {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 23 18:49:28 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/attributes/DocsType.java

    package org.gradle.api.attributes;
    
    import org.gradle.api.Named;
    
    /**
     * Attributes to qualify the type of documentation.
     * <p>
     * This attribute is usually found on variants that have the {@link Category} attribute valued at {@link Category#DOCUMENTATION documentation}.
     *
     * @since 5.6
     */
    public interface DocsType extends Named {
        Attribute<DocsType> DOCS_TYPE_ATTRIBUTE = Attribute.of("org.gradle.docstype", DocsType.class);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 23 18:49:28 UTC 2021
    - 1.5K bytes
    - Viewed (0)
Back to top