Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for Strip (0.05 sec)

  1. src/text/template/exec.go

    	}
    	panic(ExecError{
    		Name: s.tmpl.Name(),
    		Err:  fmt.Errorf(format, args...),
    	})
    }
    
    // writeError is the wrapper type used internally when Execute has an
    // error writing to its output. We strip the wrapper in errRecover.
    // Note that this is not an implementation of error, so it cannot escape
    // from the package as an error value.
    type writeError struct {
    	Err error // Original error.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. build/lib/release.sh

        read -ra long_platforms <<< "${KUBE_BUILD_PLATFORMS}"
      fi
    
      for platform_long in "${long_platforms[@]}"; do
        local platform
        local platform_tag
        platform=${platform_long##"${LOCAL_OUTPUT_BINPATH}"/} # Strip LOCAL_OUTPUT_BINPATH
        platform_tag=${platform/\//-} # Replace a "/" for a "-"
        kube::log::status "Starting tarball: client $platform_tag"
    
        (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. src/encoding/asn1/marshal.go

    			s := v.Field(0)
    			if s.Len() > 0 {
    				bytes := s.Bytes()
    				/* The RawContents will contain the tag and
    				 * length fields but we'll also be writing
    				 * those ourselves, so we strip them out of
    				 * bytes */
    				return bytesEncoder(stripTagAndLength(bytes)), nil
    			}
    
    			startingField = 1
    		}
    
    		switch n1 := n - startingField; n1 {
    		case 0:
    			return bytesEncoder(nil), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		$2 ~ /^B[0-9_]+$/ ||
    		$2 ~ /^(OLD|NEW)DEV$/ ||
    		$2 == "BOTHER" ||
    		$2 ~ /^CI?BAUD(EX)?$/ ||
    		$2 == "IBSHIFT" ||
    		$2 ~ /^V[A-Z0-9]+$/ ||
    		$2 ~ /^CS[A-Z0-9]/ ||
    		$2 ~ /^I(SIG|CANON|CRNL|UCLC|EXTEN|MAXBEL|STRIP|UTF8)$/ ||
    		$2 ~ /^IGN/ ||
    		$2 ~ /^IX(ON|ANY|OFF)$/ ||
    		$2 ~ /^IN(LCR|PCK)$/ ||
    		$2 !~ "X86_CR3_PCID_NOFLUSH" &&
    		$2 ~ /(^FLU?SH)|(FLU?SH$)/ ||
    		$2 ~ /^C(LOCAL|READ|MSPAR|RTSCTS)$/ ||
    		$2 == "BRKINT" ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/shell.go

    	if sh.workDir != "" && !strings.HasPrefix(cmd, "cat ") {
    		cmd = strings.ReplaceAll(cmd, sh.workDir, "$WORK")
    		escaped := strconv.Quote(sh.workDir)
    		escaped = escaped[1 : len(escaped)-1] // strip quote characters
    		if escaped != sh.workDir {
    			cmd = strings.ReplaceAll(cmd, escaped, "$WORK")
    		}
    	}
    	return cmd
    }
    
    // ShowCmd prints the given command to standard output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. pkg/bootstrap/config.go

    	res := map[string]string{}
    	for _, line := range strings.Split(i, "\n") {
    		sl := strings.SplitN(line, "=", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		key := sl[0]
    		// Strip the leading/trailing quotes
    		val, err := strconv.Unquote(sl[1])
    		if err != nil {
    			return nil, fmt.Errorf("failed to unquote %v: %v", sl[1], err)
    		}
    		res[key] = val
    	}
    	return res, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue.go

    func isPodUpdated(oldPod, newPod *v1.Pod) bool {
    	strip := func(pod *v1.Pod) *v1.Pod {
    		p := pod.DeepCopy()
    		p.ResourceVersion = ""
    		p.Generation = 0
    		p.Status = v1.PodStatus{
    			ResourceClaimStatuses: pod.Status.ResourceClaimStatuses,
    		}
    		p.ManagedFields = nil
    		p.Finalizers = nil
    		return p
    	}
    	return !reflect.DeepEqual(strip(oldPod), strip(newPod))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // removed by resource lifting. Requires known maximum sizes of stacks and
    // known element shapes of push ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStackOpsDecompositionPass();
    
    // Creates a pass to strip the "tf._noinline" attribute from the functions in
    // the module.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStripNoinlineAttributePass();
    
    // Converts tensor list operations into operations on buffers and sizes. Needs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	pos := 0
    	end := len(str)
    
    	// handle leading sign
    	if pos < end {
    		switch str[0] {
    		case '-':
    			positive = false
    			pos++
    		case '+':
    			pos++
    		}
    	}
    
    	// strip leading zeros
    Zeroes:
    	for i := pos; ; i++ {
    		if i >= end {
    			num = "0"
    			value = num
    			return
    		}
    		switch str[i] {
    		case '0':
    			pos++
    		default:
    			break Zeroes
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. src/go/doc/reader.go

    func (r *reader) isPredeclared(n string) bool {
    	return predeclaredTypes[n] && r.types[n] == nil
    }
    
    // readFunc processes a func or method declaration.
    func (r *reader) readFunc(fun *ast.FuncDecl) {
    	// strip function body if requested.
    	if r.mode&PreserveAST == 0 {
    		fun.Body = nil
    	}
    
    	// associate methods with the receiver type, if any
    	if fun.Recv != nil {
    		// method
    		if len(fun.Recv.List) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top