Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for border (0.18 sec)

  1. cmd/sftp-server.go

    	tripledescbcID     = "3des-cbc"
    )
    
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=46
    // preferredKexAlgos specifies the default preference for key-exchange
    // algorithms in preference order. The diffie-hellman-group16-sha512 algorithm
    // is disabled by default because it is a bit slower than the others.
    var preferredKexAlgos = []string{
    	kexAlgoCurve25519SHA256, kexAlgoCurve25519SHA256LibSSH,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. chainable_api.go

    	tx.Statement.AddClause(clause.GroupBy{
    		Having: tx.Statement.BuildCondition(query, args...),
    	})
    	return
    }
    
    // Order specify order when retrieving records from database
    //
    //	db.Order("name DESC")
    //	db.Order(clause.OrderByColumn{Column: clause.Column{Name: "name"}, Desc: true})
    func (db *DB) Order(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    
    	switch v := value.(type) {
    	case clause.OrderByColumn:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  3. callbacks/create_test.go

    		Dest:         dest,
    	}
    
    	stmt.Schema = s
    
    	values := ConvertToCreateValues(stmt)
    	expected := clause.Values{
    		// column has value + defaultValue column has value (which should have a stable order)
    		Columns: []clause.Column{{Name: "name"}, {Name: "email"}, {Name: "age"}, {Name: "id"}},
    		Values: [][]interface{}{
    			{"alice", "email", 18, 1},
    			{"bob", "email", 19, 2},
    		},
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    	}
    }
    
    // filterObjectsOnly will remove prefix directories.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterObjectsOnly() {
    	dst := m.o[:0]
    	for _, o := range m.o {
    		if !o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    // filterPrefixesOnly will remove objects.
    // Order is preserved, but the underlying slice is modified.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    		if p != nil {
    			lg, ok := p.(log.Info)
    			if ok && lg.SendLog(node, logKind) {
    				lastN[cnt%last] = lg
    				cnt++
    			}
    		}
    	})
    	sys.RUnlock()
    	// send last n console log messages in order filtered by node
    	if cnt > 0 {
    		for i := 0; i < last; i++ {
    			entry := lastN[(cnt+i)%last]
    			if (entry == log.Info{}) {
    				continue
    			}
    			select {
    			case subCh <- entry:
    			case <-doneCh:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-diff.go

    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	for i, part := range parts {
    		if partNumber == part.Number {
    			return i
    		}
    	}
    	return -1
    }
    
    // AddObjectPart - add a new object part in order.
    func (fi *FileInfo) AddObjectPart(partNumber int, partETag string, partSize, actualSize int64, modTime time.Time, idx []byte, checksums map[string]string) {
    	partInfo := ObjectPartInfo{
    		Number:     partNumber,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. internal/s3select/csv/reader.go

    	recordsRead  int              // number of records read in current slice
    	input        chan *queueItem  // input for workers
    	queue        chan *queueItem  // output from workers in order
    	err          error            // global error state, only touched by Reader.Read
    	bufferPool   sync.Pool        // pool of []byte objects for input
    	csvDstPool   sync.Pool        // pool of [][]string used for output
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    type ObjReaderFn func(inputReader io.Reader, h http.Header, cleanupFns ...func()) (r *GetObjectReader, err error)
    
    // NewGetObjectReader creates a new GetObjectReader. The cleanUpFns
    // are called on Close() in FIFO order as passed in ObjReadFn(). NOTE: It is
    // assumed that clean up functions do not panic (otherwise, they may
    // not all run!).
    func NewGetObjectReader(rs *HTTPRangeSpec, oi ObjectInfo, opts ObjectOptions) (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  10. cmd/peer-rest-client.go

    		}
    	}()
    }
    
    // newPeerRestClients creates new peer clients.
    // The two slices will point to the same clients,
    // but 'all' will contain nil entry for local client.
    // The 'all' slice will be in the same order across the cluster.
    func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) {
    	if !globalIsDistErasure {
    		// Only useful in distributed setups
    		return nil, nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top