Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 158 for Strip (2.95 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go

    		return nil, err
    	}
    	removeCORSHeaders(resp)
    	return resp, nil
    }
    
    func (rt *corsRemovingTransport) WrappedRoundTripper() http.RoundTripper {
    	return rt.RoundTripper
    }
    
    // removeCORSHeaders strip CORS headers sent from the backend
    // This should be called on all responses before returning
    func removeCORSHeaders(resp *http.Response) {
    	resp.Header.Del("Access-Control-Allow-Credentials")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/math/big/natconv.go

    		// preserve x, create local copy for use by convertWords
    		q := nat(nil).set(x)
    
    		// convert q to string s in base b
    		q.convertWords(s, b, ndigits, bb, table)
    
    		// strip leading zeros
    		// (x != 0; thus s must contain at least one non-zero digit
    		// and the loop will terminate)
    		i = 0
    		for s[i] == '0' {
    			i++
    		}
    	}
    
    	if neg {
    		i--
    		s[i] = '-'
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/converter_gen.cc

        const int has_options = HasOptions(*def);
        // TFLite ops without options are skipped over.
        if (!has_options) {
          continue;
        }
    
        StringRef op_name = def->getName().drop_front(4);  // Strip 'TFL_' prefix
        std::string option_name = GetOperatorOptionName(*def);
        std::string tflite_option_name =
            option_name == "BasicLSTMOptions" ? "LSTMOptions" : option_name;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/asm/internal/asm/operand_test.go

    				isFuncSym := strings.HasSuffix(test.input, "(SB)") &&
    					// Ignore static symbols.
    					!strings.Contains(test.input, "<>")
    
    				wantName := ""
    				if isFuncSym {
    					// Strip $|* and (SB) and +Int.
    					wantName = test.output[:len(test.output)-4]
    					if strings.HasPrefix(wantName, "$") || strings.HasPrefix(wantName, "*") {
    						wantName = wantName[1:]
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top