Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 619 for dprintf (0.08 sec)

  1. tests/hooks_test.go

    		return err
    	}
    	return nil
    }
    
    func TestPropagateUnscoped(t *testing.T) {
    	_DB, err := OpenTestConnection(&gorm.Config{
    		PropagateUnscoped: true,
    	})
    	if err != nil {
    		log.Printf("failed to connect database, got error %v", err)
    		os.Exit(1)
    	}
    
    	_DB.Migrator().DropTable(&Product6{}, &ProductItem2{})
    	_DB.AutoMigrate(&Product6{}, &ProductItem2{})
    
    	p := Product6{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    		size:          actualSize,
    		offset:        0,
    		reader:        nil,
    	}
    }
    
    // Seek call to implement io.Seeker
    func (rsc *ObjectReadSeekCloser) Seek(offset int64, whence int) (int64, error) {
    	// fmt.Printf("actual: %v offset: %v (%v) whence: %v\n", rsc.size, offset, rsc.offset, whence)
    	switch whence {
    	case io.SeekStart:
    		rsc.offset = offset
    	case io.SeekCurrent:
    		rsc.offset += offset
    	case io.SeekEnd:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 * for whatever reason. I copy over the uid here so it appears correct
                 * in logging output. Logging of andx segments of messages inadvertantly
                 * print header information because of the way toString always makes a
                 * super.toString() call(see toString() at the end of all smbs classes).
                 */
    
                andx.uid = uid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object).
    
    And if we call:
    
    ```Python
    print(user_dict)
    ```
    
    we would get a Python `dict` with:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    				i+1, test.result, got)
    		}
    	}
    }
    
    func BenchmarkGetPartFileWithTrie(b *testing.B) {
    	b.ResetTimer()
    
    	entriesTrie := trie.NewTrie()
    	for i := 1; i <= 10000; i++ {
    		entriesTrie.Insert(fmt.Sprintf("%.5d.8a034f82cb9cb31140d87d3ce2a9ede3.67108864", i))
    	}
    
    	for i := 1; i <= 10000; i++ {
    		partFile := getPartFile(entriesTrie, i, "8a034f82cb9cb31140d87d3ce2a9ede3")
    		if partFile == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/handling-errors.md

    ```Python hl_lines="2-5  15  21"
    {!../../docs_src/handling_errors/tutorial006.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. cmd/config-current.go

    		if envOnly {
    			key = config.EnvPrefix + strings.ToTitle(subSys) + config.EnvWordDelimiter + strings.ToTitle(madmin.EnableKey)
    		}
    		help = append(help, config.HelpKV{
    			Key:         key,
    			Description: fmt.Sprintf("enable %s target, default is 'off'", subSys),
    			Optional:    false,
    			Type:        "on|off",
    		})
    	}
    
    	for _, hkv := range h {
    		key := hkv.Key
    		if envOnly {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  8. cmd/net.go

    // The logic to sort by last octet is implemented to
    // prefer CIDRs with higher octets, this in-turn skips the
    // localhost/loopback address to be not preferred as the
    // first ip on the list. Subsequently this list helps us print
    // a user friendly message with appropriate values.
    func sortIPs(ipList []string) []string {
    	if len(ipList) == 1 {
    		return ipList
    	}
    
    	var ipV4s []net.IP
    	var nonIPs []string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    	}
    
    	lockRetryBackOff = backoffWait(
    		lockRetryMinInterval,
    		100*time.Millisecond,
    		5*time.Second,
    	)
    }
    
    func log(format string, data ...interface{}) {
    	if dsyncLog {
    		console.Printf(format, data...)
    	}
    }
    
    const (
    	// dRWMutexAcquireTimeout - default tolerance limit to wait for lock acquisition before.
    	drwMutexAcquireTimeout = 1 * time.Second // 1 second.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. docs/distributed/DESIGN.md

                    atTotal += pool.Available
                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
            // Should not happen, but print values just in case.
            panic(fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    }
    ```
    
    ## Other usages
    
    ### Advanced use cases with multiple ellipses
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top