Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,467 for dist (0.04 sec)

  1. docs/ru/docs/tutorial/extra-models.md

    #### Pydantic-модель из содержимого другой модели
    
    Как в примере выше мы получили `user_dict` из `user_in.dict()`, этот код:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    будет равнозначен такому:
    
    ```Python
    UserInDB(**user_in.dict())
    ```
    
    ...потому что `user_in.dict()` - это `dict`, и затем мы указываем, чтобы Python его "распаковал", когда передаём его в `UserInDB` и ставим перед ним `**`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/extra-models.md

    Como no exemplo acima, obtivemos o `user_dict` a partir do `user_in.dict()`, este código:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    seria equivalente a:
    
    ```Python
    UserInDB(**user_in.dict())
    ```
    
    ...porque `user_in.dict()` é um `dict`, e depois fazemos o Python "desembrulhá-lo" passando-o para UserInDB precedido por `**`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

            String path = dest.getLocator().getUNCPath();
            if ( path.length() > 1 ) {
                try {
                    dest.mkdir();
                    if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    }
                    else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  4. cmd/testdata/config/invalid-disks.yaml

            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
            - 'https://server4-pool2:9000/mnt/disk{1...4}/'
    
    options:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 863 bytes
    - Viewed (0)
  5. docs/debugging/reorder-disks/main.go

    	actualDisksName := make(map[string]string)
    
    	// Calculate the set/disk index
    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path
    		format, err := getFormatJSON(disk.path)
    		if err != nil {
    			log.Printf("Unable to read format.json from `%s`, error: %v\n", disk.path, err)
    			continue
    		}
    		foundDiskLoc, err := getDiskLocation(format)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.kuromoji;
    
    import java.util.Date;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.dict.DictionaryCreator;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.mapping;
    
    import java.util.Date;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.dict.DictionaryCreator;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.stemmeroverride;
    
    import java.util.Date;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.dict.DictionaryCreator;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

        }
    
        static void writeULong(byte[] dest, int offset, int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
            dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
            dest[offset + 3] = (byte) (ulong >> 24 & 0xff);
        }
    
        static void writeUShort(byte[] dest, int offset, int ushort) {
            dest[offset] = (byte) (ushort & 0xff);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  10. finisher_api.go

    		})
    	}
    	tx.Statement.Dest = dest
    	return tx.callbacks.Query().Execute(tx)
    }
    
    func (db *DB) ScanRows(rows *sql.Rows, dest interface{}) error {
    	tx := db.getInstance()
    	if err := tx.Statement.Parse(dest); !errors.Is(err, schema.ErrUnsupportedDataType) {
    		tx.AddError(err)
    	}
    	tx.Statement.Dest = dest
    	tx.Statement.ReflectValue = reflect.ValueOf(dest)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top