- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 6,151 for Strings (0.09 sec)
-
cmd/api-utils.go
name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name() packageName := fmt.Sprintf("github.com/minio/minio/cmd.%s.", cmdType) name = strings.TrimPrefix(name, packageName) name = strings.TrimSuffix(name, "Handler-fm") name = strings.TrimSuffix(name, "-fm") return name
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
import jcifs.NetbiosName; import jcifs.util.Hexdump; import jcifs.util.Strings; /** * * */ public class Name implements NetbiosName { private static final int TYPE_OFFSET = 31; private static final int SCOPE_OFFSET = 33; /** * Name */ public String name; /** * Scope id */ public String scope; /** * Type */ public int hexCode;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.7K bytes - Viewed (0) -
src/bufio/example_test.go
data := "Hello, world!\nThis is a ReadFrom example." reader := strings.NewReader(data) n, err := writer.ReadFrom(reader) if err != nil { fmt.Println("ReadFrom Error:", err) return } if err = writer.Flush(); err != nil { fmt.Println("Flush Error:", err) return } fmt.Println("Bytes written:", n) fmt.Println("Buffer contents:", buf.String()) // Output: // Bytes written: 41
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/config/config_test.go
// limitations under the License. package config import ( "fmt" "strings" "testing" "github.com/spf13/viper" "istio.io/istio/istioctl/pkg/util/testutil" "istio.io/istio/pkg/config/constants" ) func TestConfigList(t *testing.T) { cases := []testutil.TestCase{ //{ // case 0 // Args: strings.Split("get istioNamespace", " "),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
} func loadSyms(t *testing.T, dbgExePath string) map[string]string { cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath) out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, string(out)) } syms := make(map[string]string) scanner := bufio.NewScanner(bytes.NewReader(out)) for scanner.Scan() { f := strings.Fields(scanner.Text()) if len(f) < 3 { continue
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/signature-v4.go
// getScope generate a string of a specific date, an AWS region, and a service. func getScope(t time.Time, region string) string { scope := strings.Join([]string{ t.Format(yyyymmdd), region, string(serviceS3), "aws4_request", }, SlashSeparator) return scope } // getStringToSign a string based on selected query values. func getStringToSign(canonicalRequest string, t time.Time, scope string) string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
Status: gateway.GatewayStatus{ Conditions: conditions, }, } } func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway { gw := makeGateway(name, namespace, programmed, isWaypoint) if gw.Labels == nil { gw.Labels = make(map[string]string) } gw.Labels[label.IoIstioRev.Name] = rev return gw
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 15:53:09 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
if err != nil { log.Fatalf("loading imports: %v\n%s", err, out) } var stdPackages []string importMap := make(map[string]map[string]string) importDir := make(map[string]string) dec := json.NewDecoder(bytes.NewReader(out)) for { var pkg struct { ImportPath, Dir string ImportMap map[string]string Standard bool } err := dec.Decode(&pkg) if err == io.EOF { break
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
return false } if c.Subset != "" && !strings.Contains(name, c.Subset) { return false } if c.Port != 0 { p := fmt.Sprintf("|%v|", c.Port) if !strings.Contains(name, p) { return false } } return true } // PrintClusterSummary prints a summary of the relevant clusters in the config dump to the ConfigWriter stdout
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
func releaseTag(version string) (string, time.Time) { relPrefix := "DEVELOPMENT" if prefix := os.Getenv("MINIO_RELEASE"); prefix != "" { relPrefix = prefix } relSuffix := "" if hotfix := os.Getenv("MINIO_HOTFIX"); hotfix != "" { relSuffix = hotfix } relTag := strings.Replace(version, " ", "-", -1) relTag = strings.Replace(relTag, ":", "-", -1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0)