Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 159 for pleg (0.1 sec)

  1. pkg/volume/csi/csi_attacher_test.go

    	fakeClient := fakeclient.NewSimpleClientset()
    	plug, tmpDir := newTestPlugin(t, fakeClient)
    	defer os.RemoveAll(tmpDir)
    	attacher, err0 := plug.NewAttacher()
    	if err0 != nil {
    		t.Fatalf("failed to create new attacher: %v", err0)
    	}
    	csiAttacher := getCsiAttacherFromVolumeAttacher(attacher, testWatchTimeout)
    
    	pluginDir := csiAttacher.plugin.host.GetPluginDir(plug.GetPluginName())
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue5125.dir/bug.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bug
    
    type Node interface {
    	Eval(s *Scene)
    }
    
    type plug struct {
    	node Node
    }
    
    type Scene struct {
    	changed map[plug]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 06:18:30 UTC 2013
    - 292 bytes
    - Viewed (0)
  3. src/regexp/testdata/testregex.c

    			if (!(test & TEST_CATCH))
    				cret = regcomp(&preg, re, flags);
    			else if (!(cret = setjmp(state.gotcha)))
    			{
    				alarm(HUNG);
    				cret = regcomp(&preg, re, flags);
    				alarm(0);
    			}
    #if _REG_subcomp
    			if (!cret && (test & TEST_SUB))
    			{
    				fun = "regsubcomp";
    				p = re + preg.re_npat;
    				if (!(test & TEST_CATCH))
    					cret = regsubcomp(&preg, p, NiL, 0, 0);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  4. test/solitaire.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test general operation by solving a peg solitaire game.
    // A version of this is in the Go playground.
    // Don't run it - produces too much output.
    
    // This program solves the (English) peg solitaire board game.
    // See also: http://en.wikipedia.org/wiki/Peg_solitaire
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 2.9K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_mounter_test.go

    	testPod     = "test-pod"
    	testPodUID  = types.UID("test-pod")
    	testAccount = "test-service-account"
    )
    
    func prepareVolumeInfoFile(mountPath string, plug *csiPlugin, specVolumeName, volumeID, driverName, lifecycleMode, seLinuxMountContext string) error {
    	nodeName := string(plug.host.GetNodeName())
    	volData := map[string]string{
    		volDataKey.specVolID:           specVolumeName,
    		volDataKey.volHandle:           volumeID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. src/image/png/writer_test.go

    			plen:     4,
    			bitdepth: 2,
    			datalen:  (1 + width/4) * height,
    		},
    
    		{
    			plen:     2,
    			bitdepth: 1,
    			datalen:  (1 + width/8) * height,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(fmt.Sprintf("plen-%d", tc.plen), func(t *testing.T) {
    			// Create a paletted image with the correct palette length
    			palette := make(color.Palette, tc.plen)
    			for i := range palette {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 14 08:14:05 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/buildship.gradle

    /**
     * This script generates an Eclipse plug-in project from a local Tooling API build.
     * It can be used to compile and execute Buildship from an Eclipse workspace.
     *
     * To generate the Eclipse project, execute the 'buildshipEclipseProject' task. The task
     * takes the shaded Jar, analyzes its content, and assembles an Eclipse plug-in
     * project in the ${layout.buildDirectory}/buildshipProject folder.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. pkg/volume/local/local_linux_test.go

    	pod2.Spec.SecurityContext = &v1.PodSecurityContext{
    		FSGroup: &fsGroup2,
    	}
    	err = testFSGroupMount(plug, pod1, tmpDir, fsGroup1)
    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    	err = testFSGroupMount(plug, pod2, tmpDir, fsGroup2)
    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. pkg/volume/csi/expander_test.go

    			if tc.enableCSINodeExpandSecret {
    				_, err := plug.host.GetKubeClient().CoreV1().Secrets(tc.secret.Namespace).Create(context.TODO(), tc.secret, metav1.CreateOptions{})
    				if err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			if tc.grpcError != nil {
    				fakeNodeClient.SetNextError(tc.grpcError)
    			}
    
    			ok, err := plug.nodeExpandWithClient(resizeOptions, csiSource, csClient, tc.fsVolume)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. pkg/volume/plugins_test.go

    	var prober DynamicPluginProber = nil // TODO (#51147) inject mock
    	vpm.InitPlugins(newTestPlugin(), prober, nil)
    
    	plug, err := vpm.FindPluginByName(testPluginName)
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    	if plug.GetPluginName() != testPluginName {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    
    	_, err = vpm.FindPluginBySpec(nil)
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top