Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 208 for extexit (0.17 sec)

  1. src/cmd/covdata/covdata.go

    var memprofilerateflag = flag.Int("memprofilerate", 0, "Set memprofile sampling rate to value")
    
    var matchpkg func(name string) bool
    
    var atExitFuncs []func()
    
    func atExit(f func()) {
    	atExitFuncs = append(atExitFuncs, f)
    }
    
    func Exit(code int) {
    	for i := len(atExitFuncs) - 1; i >= 0; i-- {
    		f := atExitFuncs[i]
    		atExitFuncs = atExitFuncs[:i]
    		f()
    	}
    	os.Exit(code)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. hack/install-protoc.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script is convenience to download and install protoc in third_party.
    # Usage: `hack/install-protoc.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/protoc.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 26 23:00:08 UTC 2023
    - 876 bytes
    - Viewed (0)
  3. hack/verify-imports.sh

    # result. Target directory's path and allowed packages against checking are
    # listed in `staging/publishing/import-restrictions.yaml`.
    # Usage: `hack/verify-imports.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    GOPROXY=off go install ./cmd/importverifier
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. hack/update-yamlfmt.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    cd "${KUBE_ROOT}"
    
    find_files() {
      find . -not \( \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. hack/verify-golangci-lint-config.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script checks that all generated golangci-lint configurations
    # are up-to-date.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/verify-generated.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 954 bytes
    - Viewed (0)
  6. hack/make-rules/build.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script sets up a go workspace locally and builds all go components.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    KUBE_VERBOSE="${KUBE_VERBOSE:-1}"
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 05 14:36:57 UTC 2024
    - 936 bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/util.go

    package ld
    
    import (
    	"cmd/link/internal/loader"
    	"encoding/binary"
    	"fmt"
    	"os"
    )
    
    var atExitFuncs []func()
    
    func AtExit(f func()) {
    	atExitFuncs = append(atExitFuncs, f)
    }
    
    // runAtExitFuncs runs the queued set of AtExit functions.
    func runAtExitFuncs() {
    	for i := len(atExitFuncs) - 1; i >= 0; i-- {
    		atExitFuncs[i]()
    	}
    	atExitFuncs = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:39:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. hack/verify-conformance-yaml.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    cd "${KUBE_ROOT}"
    
    # generate json spec -> yaml
    test/conformance/gen-conformance-yaml.sh
    
    # diff generated and checked-in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 21:15:01 UTC 2024
    - 992 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/hack/build-image.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../../../../..
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    # Register function to be called on EXIT to remove generated binary.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    				continue
    			}
    
    			// check if the struct contains an unkeyed field
    			allKeyValue := true
    			var suggestedFixAvailable = len(cl.Elts) == strct.NumFields()
    			var missingKeys []analysis.TextEdit
    			for i, e := range cl.Elts {
    				if _, ok := e.(*ast.KeyValueExpr); !ok {
    					allKeyValue = false
    					if i >= strct.NumFields() {
    						break
    					}
    					field := strct.Field(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top