Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for Sample (0.29 sec)

  1. internal/store/queuestore_test.go

    	"strings"
    	"testing"
    )
    
    type TestItem struct {
    	Name     string `json:"Name"`
    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    	testItem = TestItem{Name: "test-item", Property: "property"}
    	// Ext for test item
    	testItemExt = ".test"
    )
    
    // Initialize the queue store.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_iptables.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    type iptables struct{}
    
    func newIPTables() InterceptRuleMgr {
    	return &iptables{}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 810 bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag_test.go

    							Name: "istio-revision-tag-sample",
    							Labels: map[string]string{
    								IstioTagLabel:                 "sample",
    								label.IoIstioRev.Name:         "sample-revision",
    								"operator.istio.io/component": "Pilot",
    							},
    						},
    					},
    				},
    			},
    			namespaces:    corev1.NamespaceList{},
    			outputMatches: []string{"sample", "sample-revision"},
    			error:         "",
    		},
    		{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_iptables_unspecified.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle-handlers_test.go

    }
    
    // Simple tests of bucket lifecycle: PUT, GET, DELETE.
    // Tests are related and the order is important.
    func testBucketLifecycleHandlers(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	creds auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    	testCases := []struct {
    		method     string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. cni/pkg/plugin/sidecar_iptables_linux.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. cni/cmd/istio-cni/main.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 02:37:48 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	devID = getenv("GOIOS_DEV_ID")
    
    	// e.g. Z8B3JBXXXX.org.golang.sample, Z8B3JBXXXX prefix is available at
    	// https://developer.apple.com/membercenter/index.action#accountSummary as Team ID.
    	appID = getenv("GOIOS_APP_ID")
    
    	// e.g. Z8B3JBXXXX, available at
    	// https://developer.apple.com/membercenter/index.action#accountSummary as Team ID.
    	teamID = getenv("GOIOS_TEAM_ID")
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  10. cmd/bucket-policy-handlers_test.go

    	// test cases with sample input and expected output.
    	testCases := []struct {
    		bucketName string
    		// bucket policy to be set,
    		// set as request body.
    		bucketPolicyReader io.ReadSeeker
    		// length in bytes of the bucket policy being set.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
Back to top