Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for casting (1.59 sec)

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

    			// access more than 2GB of static data; fail at link time is better than
    			// fail at runtime. See https://golang.org/issue/7980.
    			// Instead of special casing only amd64, we treat this as an error on all
    			// 64-bit architectures so as to be future-proof.
    			if int32(o) < 0 && target.Arch.PtrSize > 4 && siz == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            """
    
            when:
            executer.requireOwnGradleUserHomeDir("Test checks existence of build-cache entries")
            executer.withArguments("--build-cache", "--info", "-Dorg.gradle.internal.transform-caching-disabled=${transformsDisabled}")
            succeeds ":lib:resolve"
    
            then:
            output.contains("Transformed lib1-1.0.jar to green")
            output.contains("Transformed lib1-1.0.jar to blue")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    type R23 R21
    type R24 R21
    
    func TestEmbed(t *testing.T) {
    	typ := TypeOf(R0{})
    	f, ok := typ.FieldByName("X")
    	if ok {
    		t.Fatalf(`FieldByName("X") should fail, returned %v`, f.Index)
    	}
    }
    
    func TestAllocsInterfaceBig(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	v := ValueOf(S{})
    	if allocs := testing.AllocsPerRun(100, func() { v.Interface() }); allocs > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    			}
    		},
    	})
    }
    
    func runCancelTest(t *testing.T, f func(t *testing.T, test cancelTest), opts ...any) {
    	run(t, func(t *testing.T, mode testMode) {
    		if mode == http1Mode {
    			t.Run("TransportCancel", func(t *testing.T) {
    				runCancelTestTransport(t, mode, f)
    			})
    		}
    		t.Run("RequestCancel", func(t *testing.T) {
    			runCancelTestChannel(t, mode, f)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

      fi
    }
    
    # Prepares parameters for kube-proxy manifest.
    # $1 source path of kube-proxy manifest.
    # Assumptions: HOST_PLATFORM and HOST_ARCH are specified by calling detect_host_info.
    function prepare-kube-proxy-manifest-variables {
      local -r src_file=$1;
    
      local -r kubeconfig="--kubeconfig=/var/lib/kube-proxy/kubeconfig"
      local kube_docker_registry="registry.k8s.io"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			actions: []action{
    				{callback: func(t *testing.T, q *PriorityQueue) { poppedPod = popPod(t, logger, q, pod) }},
    				{eventHappens: &NodeAdd},
    				{callback: func(t *testing.T, q *PriorityQueue) { poppedPod2 = popPod(t, logger, q, pod2) }},
    				{eventHappens: &AssignedPodAdd},
    				{callback: func(t *testing.T, q *PriorityQueue) {
    					logger, _ := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    		return nil
    	}
    
    	// The generated 'testmain' package is allowed to access testing/internal/...,
    	// as if it were generated into the testing directory tree
    	// (it's actually in a temporary directory outside any Go tree).
    	// This cleans up a former kludge in passing functionality to the testing package.
    	if str.HasPathPrefix(p.ImportPath, "testing/internal") && importerPath == "testmain" {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework_test.go

    			if tt.initErr && err == nil {
    				t.Fatal("Framework initialization should fail")
    			}
    			if !tt.initErr && err != nil {
    				t.Fatalf("Failed to create framework for testing: %v", err)
    			}
    		})
    	}
    }
    
    func TestNewFrameworkErrors(t *testing.T) {
    	tests := []struct {
    		name      string
    		plugins   *config.Plugins
    		pluginCfg []config.PluginConfig
    		wantErr   string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	if err != nil {
    		return wrapSRErr(err)
    	}
    	return nil
    }
    
    // getAdminClient - NOTE: ensure to take at least a read lock on SiteReplicationSys
    // before calling this.
    func (c *SiteReplicationSys) getAdminClient(ctx context.Context, deploymentID string) (*madmin.AdminClient, error) {
    	creds, err := c.getPeerCreds()
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing"
    	"k8s.io/apiserver/pkg/storage/names"
    	"k8s.io/apiserver/pkg/storage/storagebackend/factory"
    	storagetesting "k8s.io/apiserver/pkg/storage/testing"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/tools/cache"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    )
    
    var scheme = runtime.NewScheme()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top