Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cdef (0.13 sec)

  1. cmd/object-api-multipart_test.go

    		// Valid object and bucket names but non-existent bucket.
    		{bucketName: "abc", objName: "def", uploadID: resN.UploadID, PartID: 1, expectedError: fmt.Errorf("%s", "Bucket not found: abc")},
    		// Test Case - 7.
    		// Existing bucket, but using a bucket on which NewMultipartUpload is not Initiated.
    		{bucketName: "unused-bucket", objName: "def", uploadID: "xyz", PartID: 1, expectedError: fmt.Errorf("%s", "Invalid upload id xyz")},
    		// Test Case - 8.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    
    	type MyTable struct {
    		Def string `gorm:"size:512;index:idx_def,unique"`
    		Abc string `gorm:"size:65000000"`
    	}
    
    	DB.Migrator().DropTable("my_tables")
    
    	sql := "CREATE TABLE `my_tables` (`def` varchar(512),`abc` longtext,UNIQUE INDEX `idx_def` (`def`))"
    	if err := DB.Exec(sql).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    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. src/cmd/asm/internal/lex/input.go

    			nesting--
    		}
    		tokens = append(tokens, Make(tok, in.Stack.Text()))
    	}
    }
    
    // #ifdef and #ifndef processing.
    func (in *Input) ifdef(truth bool) {
    	name := in.macroName()
    	in.expectNewline("#if[n]def")
    	if !in.enabled() {
    		truth = false
    	} else if _, defined := in.macros[name]; !defined {
    		truth = !truth
    	}
    	in.ifdefStack = append(in.ifdefStack, truth)
    }
    
    // #else processing
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    	switch word {
    	case "TEXT":
    		// Defines text symbol in operands[0].
    		if len(operands) > 0 {
    			p.start(operands[0])
    			if name, abi, ok := p.funcAddress(); ok {
    				fmt.Fprintf(w, "def %s %s\n", name, abi)
    			}
    		}
    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    		// For DATA, operands[0] is defined symbol.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		//
    		// import org.apache.spark.sql.SparkSession
    		// import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType}
    		// object SparkJSONRead {
    		//   def main(args: Array[String]): Unit = {
    		//     val spark:SparkSession = SparkSession.builder()
    		//       .appName("SparkByExample")
    		//       .master("local[1]").getOrCreate()
    		//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    		}
    		err := s.Err()
    		if err != nil {
    			t.Errorf("#%d: %v", n, err)
    		}
    	}
    }
    
    var wordScanTests = []string{
    	"",
    	" ",
    	"\n",
    	"a",
    	" a ",
    	"abc def",
    	" abc def ",
    	" abc\tdef\nghi\rjkl\fmno\vpqr\u0085stu\u00a0\n",
    }
    
    // Test that the word splitter returns the same data as strings.Fields.
    func TestScanWords(t *testing.T) {
    	for n, test := range wordScanTests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    		tests: []testFnc{
    			testWrite{"ab", 2, nil},
    			testRemaining{6, 3},
    			testReadFrom{fileOps{int64(3), "cde"}, 6, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cde"}, 8, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    // references to the imported package C, replacing them with
    // references to the equivalent Go types, functions, and variables.
    func (p *Package) Translate(f *File) {
    	for _, cref := range f.Ref {
    		// Convert C.ulong to C.unsigned long, etc.
    		cref.Name.C = cname(cref.Name.Go)
    	}
    
    	var conv typeConv
    	conv.Init(p.PtrSize, p.IntSize)
    
    	p.loadDefines(f)
    	p.typedefs = map[string]bool{}
    	p.typedefList = nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue24161arg/def.go

    Austin Clements <******@****.***> 1683224724 -0400
    Go
    - Registered: Tue Apr 09 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 382 bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    		// Remove doubled slash
    		{"abc//def//ghi", "abc/def/ghi"},
    		{"//abc", "/abc"},
    		{"///abc", "/abc"},
    		{"//abc//", "/abc"},
    		{"abc//", "abc"},
    
    		// Remove . elements
    		{"abc/./def", "abc/def"},
    		{"/./abc/def", "/abc/def"},
    		{"abc/.", "abc"},
    
    		// Remove .. elements
    		{"abc/def/ghi/../jkl", "abc/def/jkl"},
    		{"abc/def/../ghi/../jkl", "abc/jkl"},
    		{"abc/def/..", "abc"},
    		{"abc/def/../..", "."},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top