Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for checkable (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable([])
        }
    
        def "can removeAll elements"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ListModelProjectionTest.groovy

                add 'foo'
                add 'bar'
                add 'baz'
                remove(1)
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['foo', 'baz'])
        }
    
        def "can add using index"() {
            when:
            mutate {
                add 'foo'
                add(0, 'bar')
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/SetModelProjectionTest.groovy

        @Managed
        static interface Internal {
            Set<String> getItems()
        }
    
        @Override
        Class<?> holderType() {
            Internal
        }
    
        @Override
        Set<String> checkable(List<String> list) {
            new LinkedHashSet<String>(list)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/api/CheckableComponentSpec.java

     * limitations under the License.
     */
    
    package org.gradle.api;
    
    import org.gradle.platform.base.ComponentSpec;
    
    import javax.annotation.Nullable;
    
    /**
     * A {@link ComponentSpec} that is directly checkable via a specified task.
     */
    @Incubating
    public interface CheckableComponentSpec extends ComponentSpec {
    
        /**
         * Returns the task responsible for checking this component.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/checkbce.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import "cmd/compile/internal/logopt"
    
    // checkbce prints all bounds checks that are present in the function.
    // Useful to find regressions. checkbce is only activated when with
    // corresponding debug options, so it's off by default.
    // See test/checkbce.go
    func checkbce(f *Func) {
    	if f.pass.debug <= 0 && !logopt.Enabled() {
    		return
    	}
    
    	for _, b := range f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 10 17:12:35 UTC 2019
    - 956 bytes
    - Viewed (0)
  6. test/checkbce.go

    // errorcheck -0 -d=ssa/check_bce/debug=3
    
    //go:build amd64 && !gcflags_noopt
    
    // Copyright 2016 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 that the compiler does bounds check elimination as expected.
    // This avoids accidental regressions.
    
    package main
    
    import "encoding/binary"
    
    func f0(a []int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/organizing_tasks.adoc

    My CI build tasks
    -----------------
    checkAll - Runs checks for all projects (CI)
    
    My global build tasks
    ---------------------
    qualityCheckApp - Runs checks on app (globally)
    ----
    
    If we run the `:checkAll` task, we see that it compiles all the code and runs the code quality checks (including `spotbug`):
    
    [source,text]
    ----
    $ ./gradlew :checkAll
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 23:21:15 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/web/url.go

    	if u.Scheme != "file" {
    		return "", errors.New("non-file URL")
    	}
    
    	checkAbs := func(path string) (string, error) {
    		if !filepath.IsAbs(path) {
    			return "", errNotAbsolute
    		}
    		return path, nil
    	}
    
    	if u.Path == "" {
    		if u.Host != "" || u.Opaque == "" {
    			return "", errors.New("file URL missing path")
    		}
    		return checkAbs(filepath.FromSlash(u.Opaque))
    	}
    
    	path, err := convertFileURLPath(u.Host, u.Path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileAttributesTest.java

                  SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) {
    
                try {
                    assertTrue(checkFile.exists());
                }
                finally {
                    ostream.close();
                    checkFile.close();
                    f.delete();
                }
            }
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    			return
    		}
    	})
    }
    
    -- check_file/main.go --
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strconv"
    )
    
    func checkFile(name, expected string) (bool, error) {
    	data, err := os.ReadFile(name)
    	if err != nil {
    		return false, err
    	}
    	for _, line := range bytes.Split(data, []byte("\n")) {
    		m := valRe.FindSubmatch(line)
    		if m == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top