Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for Strip (0.08 sec)

  1. src/cmd/link/internal/ld/lib.go

    			Exitf("%s: finding dsymutil failed: %v\n%s", os.Args[0], err, out)
    		}
    		dsymutilCmd := strings.TrimSuffix(string(out), "\n")
    
    		cc[len(cc)-1] = "strip"
    		out, err = exec.Command(cc[0], cc[1:]...).CombinedOutput()
    		if err != nil {
    			Exitf("%s: finding strip failed: %v\n%s", os.Args[0], err, out)
    		}
    		stripCmd := strings.TrimSuffix(string(out), "\n")
    
    		dsym := filepath.Join(*flagTmpdir, "go.dwarf")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. src/crypto/rsa/pss.go

    	// of the modulus. The spec would have us wire emLen into the encoding
    	// function, but we'd rather always encode to the size of the modulus and
    	// then strip leading zeroes if necessary. This only happens for weird
    	// modulus sizes anyway.
    	for len(em) > emLen && len(em) > 0 {
    		if em[0] != 0 {
    			return ErrVerification
    		}
    		em = em[1:]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/net/http/client_test.go

    	testCases := []struct {
    		desc string
    		in   string
    		out  string
    	}{
    		{
    			desc: "Strip password from error message",
    			in:   "http://user:******@****.***d/",
    			out:  `Get "http://user:***@dummy.faketld/": dummy impl`,
    		},
    		{
    			desc: "Don't Strip password from domain name",
    			in:   "http://user:******@****.***d/",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. src/crypto/tls/boring_test.go

    						}
    						if reachableFIPS[c.org] && c.fipsOK {
    							shouldVerifyFIPS = true
    						}
    					}
    				}
    				addRoot(r&1, R1)
    				addRoot(r&2, R2)
    				rootName = rootName[1:] // strip leading comma
    				testServerCert(t, listName+"->"+rootName[1:], pool, leaf.key, list, shouldVerify)
    				testClientCert(t, listName+"->"+rootName[1:]+"(client cert)", pool, leaf.key, list, shouldVerify)
    				fipstls.Force()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/debug/buildinfo/buildinfo.go

    		mod = readString(x, ptrSize, readPtr, readPtr(data[16+ptrSize:]))
    	}
    	if vers == "" {
    		return "", "", errNotGoExe
    	}
    	if len(mod) >= 33 && mod[len(mod)-17] == '\n' {
    		// Strip module framing: sentinel strings delimiting the module info.
    		// These are cmd/go/internal/modload.infoStart and infoEnd.
    		mod = mod[16 : len(mod)-16]
    	} else {
    		mod = ""
    	}
    
    	return vers, mod, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/time/time.go

    // Because t.AddDate(y, m, d), t.Round(d), and t.Truncate(d) are wall time
    // computations, they always strip any monotonic clock reading from their results.
    // Because t.In, t.Local, and t.UTC are used for their effect on the interpretation
    // of the wall time, they also strip any monotonic clock reading from their results.
    // The canonical way to strip a monotonic clock reading is to use t = t.Round(0).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. src/log/slog/value.go

    	if v.Equal(t) {
    		// UnixNano correctly represents the time, so use a zero-alloc representation.
    		return Value{num: uint64(nsec), any: timeLocation(v.Location())}
    	}
    	// Fall back to the general form.
    	// Strip the monotonic portion to match the other representation.
    	return Value{any: timeTime(v.Round(0))}
    }
    
    // DurationValue returns a [Value] for a [time.Duration].
    func DurationValue(v time.Duration) Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/net/http/cookie.go

    // parsing was successful, and a boolean indicating whether the parsed
    // value was enclosed in double quotes.
    func parseCookieValue(raw string, allowDoubleQuote bool) (value string, quoted, ok bool) {
    	// Strip the quotes, if present.
    	if allowDoubleQuote && len(raw) > 1 && raw[0] == '"' && raw[len(raw)-1] == '"' {
    		raw = raw[1 : len(raw)-1]
    		quoted = true
    	}
    	for i := 0; i < len(raw); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    			gw, err := makeGateway(false)
    			if err != nil {
    				return fmt.Errorf("failed to create gateway: %v", err)
    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			// strip junk
    			res := strings.ReplaceAll(string(b), `  creationTimestamp: null
    `, "")
    			res = strings.ReplaceAll(res, `status: {}
    `, "")
    			fmt.Fprint(cmd.OutOrStdout(), res)
    			return nil
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. pkg/kube/util.go

    	obj, _, err := IstioCodec.UniversalDeserializer().Decode(by, &gvk, nil)
    	if err != nil {
    		return nil, err
    	}
    	return obj, nil
    }
    
    // sanitizeKubeConfig sanitizes a kubeconfig file to strip out insecure settings which may leak
    // confidential materials.
    // See https://github.com/kubernetes/kubectl/issues/697
    func sanitizeKubeConfig(config api.Config, allowlist sets.String) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top