Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,870 for lints (0.05 sec)

  1. hack/verify-shellcheck.sh

    # disabled lints
    disabled=(
      # this lint disallows non-constant source, which we use extensively without
      # any known bugs
      1090
      # this lint warns when shellcheck cannot find a sourced file
      # this wouldn't be a bad idea to warn on, but it fails on lots of path
      # dependent sourcing, so just disable enforcing it
      1091
      # this lint prefers command -v to which, they are not the same
      2230
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. hack/verify-golangci-lint.sh

      if [[ "${arg}" == -* ]]; then
        golangci+=("${arg}")
      else
        targets+=("${arg}")
      fi
    done
    
    # Install golangci-lint
    echo "installing golangci-lint and logcheck plugin from hack/tools into ${GOBIN}"
    go -C "${KUBE_ROOT}/hack/tools" install github.com/golangci/golangci-lint/cmd/golangci-lint
    if [ "${golangci_config}" ]; then
      # This cannot be used without a config.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/environment/base_test.go

    func BenchmarkLoadBaseEnvDifferentVersions(b *testing.B) {
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		MustBaseEnvSet(version.MajorMinor(1, uint(i)), true)
    	}
    }
    
    // TestLibraryCoverage lints the management of libraries in baseOpts by
    // checking for:
    //
    //   - No gaps and overlap in library inclusion, including when libraries are version bumped
    //   - RemovedVersion is always greater than IntroducedVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

       * list of size {@code m x n x p}, its actual memory consumption is much smaller. When the
       * cartesian product is constructed, the input lists are merely copied. Only as the resulting list
       * is iterated are the individual lists created, and these are not retained after iteration.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

       * list of size {@code m x n x p}, its actual memory consumption is much smaller. When the
       * cartesian product is constructed, the input lists are merely copied. Only as the resulting list
       * is iterated are the individual lists created, and these are not retained after iteration.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. hack/verify-golangci-lint-pr-hints.sh

    # golangci-lint. It does nothing when invoked as part of a normal "make
    # verify".
    
    set -o nounset
    set -o pipefail
    
    if [ ! "${PULL_NUMBER:-}" ]; then
      echo 'Not testing anything because this is not a pull request.'
      exit 0
    fi
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:14:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    //	['a', 'b', 'b', 'c'].lastIndexOf('b') // returns 2
    //	[1.0].indexOf(1.1) // returns -1
    //	[].indexOf('string') // returns -1
    func Lists() cel.EnvOption {
    	return cel.Lib(listsLib)
    }
    
    var listsLib = &lists{}
    
    type lists struct{}
    
    func (*lists) LibraryName() string {
    	return "k8s.lists"
    }
    
    var paramA = cel.TypeParamType("A")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/build/relnote/links.go

    		addSymbolLinksBlocks(b.Blocks, defaultPackage)
    	// no links in these blocks
    	case *md.CodeBlock:
    	case *md.HTMLBlock:
    	case *md.Empty:
    	case *md.ThematicBreak:
    	default:
    		panic(fmt.Sprintf("unknown block type %T", b))
    	}
    }
    
    // addSymbolLinksInlines looks for symbol links in the slice of inline markdown
    // elements. It returns a new slice of inline elements with links added.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. hack/update-golangci-lint-config.sh

        go run ./cmd/gotemplate <hack/golangci.yaml.in >"${out}" "$@"
    }
    
    # Regenerate.
    generate hack/golangci.yaml Base=1
    generate hack/golangci-strict.yaml Strict=1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top