- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 962 for printf (0.05 sec)
-
cmd/erasure.go
state = madmin.DriveStateFaulty case errors.Is(err, errDriveIsRoot): state = madmin.DriveStateRootMount case err == nil: state = madmin.DriveStateOk default: state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err) } return } func getOnlineOfflineDisksStats(disksInfo []madmin.Disk) (onlineDisks, offlineDisks madmin.BackendDisks) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
cmd/global-heal.go
} return status, true } si := o.LocalStorageInfo(ctx, true) indexed := make(map[string][]madmin.Disk) for _, disk := range si.Disks { setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex) indexed[setIdx] = append(indexed[setIdx], disk) } for id, disks := range indexed { ss := madmin.SetStatus{ ID: id, SetIndex: disks[0].SetIndex,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.3K bytes - Viewed (0) -
docs/ru/docs/environment-variables.md
Например, у вас есть файл `main.py`: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip Второй аргумент <a href=«https://docs.python.org/3.8/library/os.html#os.getenv» class=«external-link» target=«_blank»>`os.getenv()`</a> - это возвращаемое по умолчанию значение.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 15 11:38:57 UTC 2024 - 12.5K bytes - Viewed (0) -
src/archive/tar/reader_test.go
continue } h := crc32.NewIEEE() _, err = io.CopyBuffer(h, tr, rdbuf) // Effectively an incremental read if err != nil { break } chksums = append(chksums, fmt.Sprintf("%x", h.Sum(nil))) } for i, hdr := range hdrs { if i >= len(v.headers) { t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr) } if !reflect.DeepEqual(*hdr, *v.headers[i]) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
cmd/erasure-object.go
tags["merrs"] = joinErrs(errs) tags["derrs"] = fmt.Sprintf("%v", dataErrsByPart) if m.IsValid() { tags["sz"] = strconv.FormatInt(m.Size, 10) tags["mt"] = m.ModTime.Format(iso8601Format) tags["d:p"] = fmt.Sprintf("%d:%d", m.Erasure.DataBlocks, m.Erasure.ParityBlocks) } else { tags["invalid"] = "1" tags["d:p"] = fmt.Sprintf("%d:%d", er.setDriveCount-er.defaultParityCount, er.defaultParityCount) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0) -
internal/s3select/csv/reader.go
r.recordsRead++ // If no column names are set, use _(index) if r.columnNames == nil { r.columnNames = make([]string, len(csvRecord)) for i := range csvRecord { r.columnNames[i] = fmt.Sprintf("_%v", i+1) } } // If no index map, add that. if r.nameIndexMap == nil { r.nameIndexMap = make(map[string]int64) for i := range r.columnNames { r.nameIndexMap[r.columnNames[i]] = int64(i) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
src/archive/zip/zip_test.go
t.Skip("skipping in short mode") } buf := new(strings.Builder) w := NewWriter(buf) const nFiles = (1 << 16) + 42 for i := 0; i < nFiles; i++ { _, err := w.CreateHeader(&FileHeader{ Name: fmt.Sprintf("%d.dat", i), Method: Store, // Deflate is too slow when it is compiled with -race flag }) if err != nil { t.Fatalf("creating file %d: %v", i, err) } } if err := w.Close(); err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
/** Constructor for use by subclasses. */ protected UnicodeEscaper() {} /** * Returns the escaped form of the given Unicode code point, or {@code null} if this code point * does not need to be escaped. When called as part of an escaping operation, the given code point * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0) -
docs/distributed/decom-encrypted-kes.sh
apt install openssl || sudo apt install opensssl fi # Start KES Server (./kes server --dev 2>&1 >kes-server.log) & kes_pid=$! sleep 5s API_KEY=$(grep "API Key" <kes-server.log | awk -F" " '{print $3}') (openssl s_client -connect 127.0.0.1:7373 2>/dev/null 1>public.crt) export CI=true export MINIO_KMS_KES_ENDPOINT=https://127.0.0.1:7373 export MINIO_KMS_KES_API_KEY="${API_KEY}"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
```Python user_dict = user_in.dict() ``` то теперь у нас есть `dict` с данными модели в переменной `user_dict` (это `dict` вместо объекта Pydantic-модели). И если мы вызовем: ```Python print(user_dict) ``` мы можем получить `dict` с такими данными: ```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 - 11.5K bytes - Viewed (0)