Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for scanf (0.15 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        /**
         * 
         */
        public static final byte FILE_ID_FULL_DIRECTORY_INFO = 0x26;
    
        /**
         * 
         */
        public static final byte SMB2_RESTART_SCANS = 0x1;
    
        /**
         * 
         */
        public static final byte SMB2_RETURN_SINGLE_ENTRY = 0x2;
    
        /**
         * 
         */
        public static final byte SMB2_INDEX_SPECIFIED = 0x4;
    
        /**
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 14 10:41:31 GMT 2021
    - 6K bytes
    - Viewed (0)
  2. docs/debugging/hash-set/main.go

    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    		b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
    		sc := bufio.NewScanner(bytes.NewBuffer(b))
    		for sc.Scan() {
    			object = strings.TrimSpace(sc.Text())
    			set := sipHashMod(prefix+object, setCount, id)
    			distrib[set] = append(distrib[set], prefix+object)
    		}
    		for set, files := range distrib {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex.go

    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    }
    
    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    type Token struct {
    	ScanToken
    	text string
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. cmd/data-usage-utils.go

    	TotalUsedCapacity uint64 `json:"usedCapacity,omitempty"`
    	TotalFreeCapacity uint64 `json:"freeCapacity,omitempty"`
    
    	// LastUpdate is the timestamp of when the data usage info was last updated.
    	// This does not indicate a full scan.
    	LastUpdate time.Time `json:"lastUpdate"`
    
    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/metacache.go

    	"fmt"
    	"path"
    	"strings"
    	"time"
    )
    
    type scanStatus uint8
    
    const (
    	scanStateNone scanStatus = iota
    	scanStateStarted
    	scanStateSuccess
    	scanStateError
    
    	// Time in which the initiator of a scan must have reported back.
    	metacacheMaxRunningAge = time.Minute
    
    	// Max time between client calls before dropping an async cache listing.
    	metacacheMaxClientWait = 3 * time.Minute
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. schema/field.go

    							fieldValue.Set(reflect.New(field.FieldType.Elem()))
    						}
    
    						if valuer, ok := v.(driver.Valuer); ok {
    							v, _ = valuer.Value()
    						}
    
    						err = fieldValue.Interface().(sql.Scanner).Scan(v)
    					}
    					return
    				}
    			} else if _, ok := fieldValue.Interface().(sql.Scanner); ok {
    				// struct scanner
    				field.Set = func(ctx context.Context, value reflect.Value, v interface{}) (err error) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  7. callbacks/delete.go

    				}
    
    				return
    			}
    
    			if rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...); db.AddError(err) == nil {
    				gorm.Scan(rows, db, mode)
    				db.AddError(rows.Close())
    			}
    		}
    	}
    }
    
    func AfterDelete(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && db.Statement.Schema.AfterDelete {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Feb 25 02:48:23 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. cmd/streaming-v4-unsigned.go

    	wantTrailers := make(map[string]struct{}, len(cr.trailers))
    	for k := range cr.trailers {
    		wantTrailers[strings.ToLower(k)] = struct{}{}
    	}
    	input := bufio.NewScanner(bytes.NewReader(valueBuffer.Bytes()))
    	for input.Scan() {
    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  9. tests/joins_test.go

    	stmt = dryDB.Table(`table_employees`).Select(`id, name, iv.total, iv.paid, iv.balance`).Joins(`LEFT JOIN (?) AS iv ON iv.seller = table_employees.id`, iv).Scan(&user).Statement
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  10. src/cmd/asm/internal/lex/input.go

    	// see the space itself. Note that text/scanner reports the position at the
    	// end of the token. It's where you are now, and you just read this token.
    	if tok == '(' && in.Stack.Col() == prevCol+1 {
    		// Macro has arguments. Scan list of formals.
    		acceptArg := true
    		args = []string{} // Zero length but not nil.
    	Loop:
    		for {
    			tok = in.Stack.Next()
    			switch tok {
    			case ')':
    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)
Back to top