Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for execute (0.17 sec)

  1. src/bytes/bytes_test.go

    	{"a.RegExp*", ".(|)*+?^$[]", 8},
    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 6},
    	{"012\x80bcb\x80210", "\xffb", 7},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    			sql, _ := fc()
    			if strings.HasPrefix(sql, "ALTER TABLE \"migrate_ints\" ALTER COLUMN \"int8\" TYPE smallint") {
    				t.Fatalf("shouldn't execute ALTER COLUMN TYPE if such type is already existed in DB schema: sql: %s",
    					sql)
    			}
    		},
    	}
    
    	DB.Migrator().DropTable(&MigrateInt{})
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	objAPITest(objLayer, ErasureTestStr, bucketErasure, erAPIRouter, credentials, t)
    
    	// clean up the temporary test backend.
    	removeRoots(append(erasureDisks, fsDir))
    }
    
    // ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed.
    // This can be used to test functionality when reading and writing data.
    func ExecExtendedObjectLayerAPITest(t *testing.T, objAPITest objAPITestType, endpoints []string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    	for _, pod := range pods.Items {
    		byConfigDump, err := client.EnvoyDo(context.TODO(), pod.Name, pod.Namespace, "GET", "config_dump")
    		if err != nil {
    			return fmt.Errorf("failed to execute command on ingress gateway sidecar: %v", err)
    		}
    		cd := configdump.Wrapper{}
    		err = cd.UnmarshalJSON(byConfigDump)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		if dt.ByteSize < 0 {
    			// Don't override old type
    			if _, ok := typedef[name.Name]; ok {
    				break
    			}
    
    			// Size calculation in c.Struct/c.Opaque will die with size=-1 (unknown),
    			// so execute the basic things that the struct case would do
    			// other than try to determine a Go representation.
    			tt := *t
    			tt.C = &TypeRepr{"%s %s", []interface{}{dt.Kind, tag}}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create file, %s", err.Error())
    	}
    	// Parent directory must have write permissions, this is read + execute.
    	if err = os.Chmod(pathJoin(path, "no-permissions"), 0o555); err != nil {
    		t.Fatalf("Unable to chmod directory, %s", err.Error())
    	}
    	t.Cleanup(func() {
    		os.Chmod(pathJoin(path, "no-permissions"), 0o775)
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top