Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Scanner (0.17 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    func GetCgroups(procCgroupData bytes.Buffer) ([]Cgroup, error) {
    	reader := bytes.NewReader(procCgroupData.Bytes())
    	var cgroups []Cgroup
    	scanner := bufio.NewScanner(reader)
    
    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. common/scripts/fix_copyright_banner.sh

    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
        if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
          newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
          echo "${newfile}" > "${fn}"
          echo "Fixing license: ${fn}"
        else
          echo "Cannot fix license: ${fn}. Unknown file type"
        fi
      fi
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 17 04:35:57 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  3. common/scripts/lint_copyright_banner.sh

    Martin Taillefer <******@****.***> 1568244741 -0700
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  4. licenses/sigs.k8s.io/yaml/LICENSE

    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Copyright (c) 2006-2011 Kirill Simonov
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 19:53:28 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  5. licenses/github.com/hashicorp/go-multierror/LICENSE

            as described in Section 3.1, and You must inform recipients of the
            Executable Form how they can obtain a copy of such Source Code Form by
            reasonable means in a timely manner, at a charge no more than the cost
            of distribution to the recipient; and
    
         b. You may distribute such Executable Form under the terms of this License,
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  6. licenses/sigs.k8s.io/yaml/goyaml.v3/LICENSE

    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Copyright (c) 2006-2011 Kirill Simonov
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 19:53:28 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. licenses/gopkg.in/yaml.v3/LICENSE

    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Copyright (c) 2006-2011 Kirill Simonov
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Feb 28 19:48:10 GMT 2020
    - 2.1K bytes
    - Viewed (0)
  8. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

            as described in Section 3.1, and You must inform recipients of the
            Executable Form how they can obtain a copy of such Source Code Form by
            reasonable means in a timely manner, at a charge no more than the cost
            of distribution to the recipient; and
    
         b. You may distribute such Executable Form under the terms of this
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 03 20:21:32 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  9. common/Makefile.common.mk

    lint-copyright-banner:
    	@${FINDFILES} \( -name '*.go' -o -name '*.cc' -o -name '*.h' -o -name '*.proto' -o -name '*.py' -o -name '*.sh' -o -name '*.rs' \) \( ! \( -name '*.gen.go' -o -name '*.pb.go' -o -name '*_pb2.py' \) \) -print0 |\
    		${XARGS} common/scripts/lint_copyright_banner.sh
    
    fix-copyright-banner:
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/errwrap/LICENSE

            as described in Section 3.1, and You must inform recipients of the
            Executable Form how they can obtain a copy of such Source Code Form by
            reasonable means in a timely manner, at a charge no more than the cost
            of distribution to the recipient; and
    
         b. You may distribute such Executable Form under the terms of this License,
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
Back to top