Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for laking (0.2 sec)

  1. clause/locking_test.go

    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}},
    			"SELECT * FROM `users` FOR UPDATE", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthShare, Table: clause.Table{Name: clause.CurrentTable}}},
    			"SELECT * FROM `users` FOR SHARE OF `users`", nil,
    		},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. schema/naming.go

    }
    
    // Replacer replacer interface like strings.Replacer
    type Replacer interface {
    	Replace(name string) string
    }
    
    var _ Namer = (*NamingStrategy)(nil)
    
    // NamingStrategy tables, columns naming strategy
    type NamingStrategy struct {
    	TablePrefix         string
    	SingularTable       bool
    	NameReplacer        Replacer
    	NoLowerCase         bool
    	IdentifierMaxLength int
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. clause/locking.go

    	LockingOptionsNoWait     = "NOWAIT"
    )
    
    type Locking struct {
    	Strength string
    	Table    Table
    	Options  string
    }
    
    // Name where clause name
    func (locking Locking) Name() string {
    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    	builder.WriteString(locking.Strength)
    	if locking.Table.Name != "" {
    		builder.WriteString(" OF ")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 773 bytes
    - Viewed (0)
  4. src/archive/tar/fuzz_test.go

    			}
    		}
    		if err := w.Close(); err != nil {
    			t.Fatalf("Unable to write archive: %s", err)
    		}
    
    		// TODO: We may want to check if the archive roundtrips. This would require
    		// taking into account addition of the two zero trailer blocks that Writer.Close
    		// appends.
    	})
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    	erasureLockOwner string
    
    	// List of endpoints provided on the command line.
    	endpoints PoolEndpoints
    
    	// String version of all the endpoints, an optimization
    	// to avoid url.String() conversion taking CPU on
    	// large disk setups.
    	endpointStrings []string
    
    	// Total number of sets and the number of disks per set.
    	setCount, setDriveCount int
    	defaultParityCount      int
    
    	poolIndex int
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  6. misc/cgo/gmp/gmp.go

    // the zero value is a crash.  To bridge the gap, the
    // init bool says whether this is a valid gmp value.
    // doinit initializes z.i if it needs it.  This is not inherent
    // to FFI, just a mismatch between Go's convention of
    // making zero values useful and gmp's decision not to.
    func (z *Int) doinit() {
    	if z.init {
    		return
    	}
    	z.init = true
    	C.mpz_init(&z.i[0])
    }
    
    // Bytes returns z's representation as a big-endian byte array.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		// Some systems use leading _ to denote non-assembly symbols.
    		return s == "__cgodebug_ints" || s == "___cgodebug_ints"
    	}
    	isDebugFloats := func(s string) bool {
    		// Some systems use leading _ to denote non-assembly symbols.
    		return s == "__cgodebug_floats" || s == "___cgodebug_floats"
    	}
    	indexOfDebugStr := func(s string) int {
    		// Some systems use leading _ to denote non-assembly symbols.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/bytes/buffer.go

    // delim.
    func (b *Buffer) ReadBytes(delim byte) (line []byte, err error) {
    	slice, err := b.readSlice(delim)
    	// return a copy of slice. The buffer's backing array may
    	// be overwritten by later calls.
    	line = append(line, slice...)
    	return line, err
    }
    
    // readSlice is like ReadBytes but returns a reference to internal buffer data.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. cmd/server-main.go

    		if !globalDisableFreezeOnBoot {
    			defer bootstrapTrace("unfreezeServices", unfreezeServices)
    			t := time.AfterFunc(5*time.Minute, func() {
    				warnings = append(warnings, color.YellowBold("- Initializing the config subsystem is taking longer than 5 minutes. Please set '_MINIO_DISABLE_API_FREEZE_ON_BOOT=true' to not freeze the APIs"))
    			})
    			defer t.Stop()
    		}
    
    		// Initialize data scanner.
    		bootstrapTrace("initDataScanner", func() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  10. src/cmd/api/main_test.go

    	} else {
    		environ = append(environ, "CGO_ENABLED=0")
    	}
    	return environ
    }
    
    type apiPackage struct {
    	*types.Package
    	Files []*ast.File
    }
    
    // Importing is a sentinel taking the place in Walker.imported
    // for a package that is in the process of being imported.
    var importing apiPackage
    
    // Import implements types.Importer.
    func (w *Walker) Import(name string) (*types.Package, error) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top