Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 780 for retLine (0.17 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/provider/SetProperty.java

     */
    
    package org.gradle.api.provider;
    
    import javax.annotation.Nullable;
    import java.util.Set;
    
    /**
     * Represents a property whose type is a {@link Set} of elements of type {@link T}. Retains iteration order.
     *
     * <p>
     * You can create a {@link SetProperty} instance using factory method {@link org.gradle.api.model.ObjectFactory#setProperty(Class)}.
     * </p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/pos.go

    	b := pos.base
    	for b != nil && b != b.pos.base {
    		b = b.pos.base
    	}
    	// b == nil || b == b.pos.base
    	return b
    }
    
    func (pos Pos) RelFilename() string { return pos.base.Filename() }
    
    func (pos Pos) RelLine() uint {
    	b := pos.base
    	if b.Line() == 0 {
    		// base line is unknown => relative line is unknown
    		return 0
    	}
    	return b.Line() + (pos.Line() - b.Pos().Line())
    }
    
    func (pos Pos) RelCol() uint {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

        @Inject
        CustomPlugin(ToolingModelBuilderRegistry registry) {
            registry.register(new CustomBuilder())
        }
    
        public void apply(Project project) {
        }
    }
    """
        }
    
        def "retains underlying object identity in model returned to client"() {
            when:
            def model = withConnection { connection ->
                connection.model(CustomModel).get()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorAnnotationsTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.normalization.java
    
    class ApiClassExtractorAnnotationsTest extends ApiClassExtractorTestSupport {
    
        void "annotations on class are retained"() {
            given:
            def api = toApi([
                A  : '@Ann public class A {}',
                Ann: '''
                    import java.lang.annotation.ElementType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/encoding/pem/pem.go

    }
    
    // getLine results the first \r\n or \n delineated line from the given byte
    // array. The line does not include trailing whitespace or the trailing new
    // line bytes. The remainder of the byte array (also not including the new line
    // bytes) is also returned and this will always be smaller than the original
    // argument.
    func getLine(data []byte) (line, rest []byte) {
    	i := bytes.IndexByte(data, '\n')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

                  enum:
                    - Delete
                    - Retain
                  type: string
                driver:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 26 07:24:12 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParserTest.groovy

            "a.b.c.1.2"       | "a.b.c.1.2" | false
            "1b2.1.2.3"       | "1"         | true
            "b1-2-3.3"        | "b"         | true
        }
    
        def "handles empty parts and retains whitespace"() {
            expect:
            def version = parse(versionStr)
            version.parts as List == parts
    
            where:
            versionStr  | parts
            ''          | []
            'a b c'     | ['a b c']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_utils.go

    	policy := getPersistentVolumeClaimRetentionPolicy(set)
    	const retain = apps.RetainPersistentVolumeClaimRetentionPolicyType
    	if policy.WhenScaled == retain && policy.WhenDeleted == retain {
    		// On a retain policy, it's not a problem for different controller to be managing the claims.
    		return false
    	}
    	for _, ownerRef := range claim.GetOwnerReferences() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    // EachListItemWithAlloc works like EachListItem, but avoids retaining references to the items slice in obj.
    // It does this by making a shallow copy of non-pointer items in obj.
    //
    // If the items passed to fn are not retained, or are retained for the same duration, use EachListItem instead for memory efficiency.
    func EachListItemWithAlloc(obj runtime.Object, fn func(runtime.Object) error) error {
    	return eachListItem(obj, fn, true)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. src/cmd/internal/src/pos_test.go

    		// relative info
    		if got := pos.RelFilename(); got != test.relFilename {
    			t.Errorf("%s: got relFilename %q; want %q", test.string, got, test.relFilename)
    		}
    		if got := pos.RelLine(); got != test.relLine {
    			t.Errorf("%s: got relLine %d; want %d", test.string, got, test.relLine)
    		}
    		if got := pos.RelCol(); got != test.relCol {
    			t.Errorf("%s: got relCol %d; want %d", test.string, got, test.relCol)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 14 23:50:26 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top