Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 153 for expvar (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

      // CHECK-NEXT: tf_device.replicate([%arg0, %[[FULL_0]], %[[FULL_1]], %[[FULL_0]]] as %[[REPVAR:.*]]: tensor<f32>) {n = 4 : i32} {
      // CHECK-NEXT:   %[[ID:.*]] = "tf_device.launch"() <{device = "TPU_REPLICATED_HOST_0"}> ({
      // CHECK-NEXT:     %[[IDINSIDE:.*]] = "tf.Identity"(%[[REPVAR]]) {ici_weight_distribution_mlir_bridge_marker = true} : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/syscall/mksyscall_libc.pl

    		if($type =~ /^\*/) {
    			push @args, "uintptr(unsafe.Pointer($name))";
    		} elsif($type eq "string" && $errvar ne "") {
    			$text .= "\tvar _p$n $strconvtype\n";
    			$text .= "\t_p$n, $errvar = $strconvfunc($name)\n";
    			$text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
    			push @args, "uintptr(unsafe.Pointer(_p$n))";
    			$n++;
    		} elsif($type eq "string") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

    func (in *EnvVar) DeepCopyInto(out *EnvVar) {
    	*out = *in
    	in.EnvVar.DeepCopyInto(&out.EnvVar)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
    func (in *EnvVar) DeepCopy() *EnvVar {
    	if in == nil {
    		return nil
    	}
    	out := new(EnvVar)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. pkg/kubelet/container/helpers.go

    // of env vars.
    func envVarsToMap(envs []EnvVar) map[string]string {
    	result := map[string]string{}
    	for _, env := range envs {
    		result[env.Name] = env.Value
    	}
    	return result
    }
    
    // v1EnvVarsToMap constructs a map of environment name to value from a slice
    // of env vars.
    func v1EnvVarsToMap(envs []v1.EnvVar) map[string]string {
    	result := map[string]string{}
    	for _, env := range envs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common_test.go

    			_, errors := isPrivileged.Check()
    			if len(errors) != 0 && len(tt.expectedErrNonRoot) != 0 {
    				expErr = tt.expectedErrNonRoot
    			}
    			if err != nil && !strings.Contains(err.Error(), expErr) {
    				t.Fatalf("enforceRequirements returned unexpected error, expected: %s, got %v", expErr, err)
    			}
    		})
    	}
    }
    
    func TestPrintConfiguration(t *testing.T) {
    	var tests = []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/runtime/runtime-lldb_test.go

    		} else if !strings.Contains(string(out), "_developer") {
    			t.Skip("Not in _developer group")
    		}
    	}
    }
    
    const lldbHelloSource = `
    package main
    import "fmt"
    func main() {
    	mapvar := make(map[string]string,5)
    	mapvar["abc"] = "def"
    	mapvar["ghi"] = "jkl"
    	intvar := 42
    	ptrvar := &intvar
    	fmt.Println("hi") // line 10
    	_ = ptrvar
    }
    `
    
    const lldbScriptSource = `
    import sys
    sys.path.append(sys.argv[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    			actErr := "No error"
    			if err != nil {
    				actErr = err.Error()
    			}
    			expErr := "No error"
    			if tc.expErrString != "" {
    				expErr = tc.expErrString
    			}
    			if !strings.Contains(actErr, expErr) {
    				t.Errorf(
    					"%s test failed, expected: %s, got: %s",
    					tc.name,
    					expErr,
    					actErr)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    	case json.Number:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/syscall/mksyscall.pl

    		if($type =~ /^\*/) {
    			push @args, "uintptr(unsafe.Pointer($name))";
    		} elsif($type eq "string" && $errvar ne "") {
    			$text .= "\tvar _p$n *byte\n";
    			$text .= "\t_p$n, $errvar = BytePtrFromString($name)\n";
    			$text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
    			push @args, "uintptr(unsafe.Pointer(_p$n))";
    			$n++;
    		} elsif($type eq "string") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/flag/example_textvar_test.go

    package flag_test
    
    import (
    	"flag"
    	"fmt"
    	"net"
    	"os"
    )
    
    func ExampleTextVar() {
    	fs := flag.NewFlagSet("ExampleTextVar", flag.ContinueOnError)
    	fs.SetOutput(os.Stdout)
    	var ip net.IP
    	fs.TextVar(&ip, "ip", net.IPv4(192, 168, 0, 100), "`IP address` to parse")
    	fs.Parse([]string{"-ip", "127.0.0.1"})
    	fmt.Printf("{ip: %v}\n\n", ip)
    
    	// 256 is not a valid IPv4 component
    	ip = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 10 16:56:17 UTC 2022
    - 847 bytes
    - Viewed (0)
Back to top