Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,467 for dist (0.03 sec)

  1. cmd/erasure-sets_test.go

    		// so that newErasureSets initializes non existing paths
    		// and successfully returns initialized object layer.
    		disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix())
    		erasureDisks = append(erasureDisks, disk)
    		defer os.RemoveAll(disk)
    	}
    
    	endpoints := mustGetNewEndpoints(0, 16, erasureDisks...)
    	_, _, err := waitForFormatErasure(true, endpoints, 1, 0, 16, "")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

                md.update((byte) ( ( ms_usage >> 16 ) & 0xFF ));
                md.update((byte) ( ( ms_usage >> 24 ) & 0xFF ));
                byte[] dgst = md.digest(data);
                mac.reset();
                mac.init(new SecretKeySpec(dk, HMAC_KEY));
                return mac.doFinal(dgst);
            }
            finally {
                Arrays.fill(dk, 0, dk.length, (byte) 0);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  3. docs/pt/docs/python-types.md

    Neste caso, `str` é o parâmetro de tipo passado para `List` (ou `list` no Python 3.9 ou superior).
    
    ///
    
    Isso significa: "a variável `items` é uma `list`, e cada um dos itens desta lista é uma `str`".
    
    /// tip | Dica
    
    Se você usa o Python 3.9 ou superior, você não precisa importar `List` de `typing`. Você pode utilizar o mesmo tipo `list` no lugar.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. docs_src/extra_models/tutorial002.py

    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 824 bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/testing.md

    ⤴️ 👆 🎏 👆 💯.
    
    🤶 Ⓜ.:
    
    * 🚶‍♀️ *➡* ⚖️ *🔢* 🔢, 🚮 ⚫️ 📛 ⚫️.
    * 🚶‍♀️ 🎻 💪, 🚶‍♀️ 🐍 🎚 (✅ `dict`) 🔢 `json`.
    * 🚥 👆 💪 📨 *📨 💽* ↩️ 🎻, ⚙️ `data` 🔢 ↩️.
    * 🚶‍♀️ *🎚*, ⚙️ `dict` `headers` 🔢.
    *  *🍪*, `dict` `cookies` 🔢.
    
    🌖 ℹ 🔃 ❔ 🚶‍♀️ 💽 👩‍💻 (⚙️ `httpx` ⚖️ `TestClient`) ✅ <a href="https://www.python-httpx.org" class="external-link" target="_blank">🇸🇲 🧾</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes como Dependências
    
    Antes de nos aprofundarmos no sistema de **Injeção de Dependência**, vamos melhorar o exemplo anterior.
    
    ## `dict` do exemplo anterior
    
    No exemplo anterior, nós retornávamos um `dict` da nossa dependência ("injetável"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/common/admin/sidebar.jsp

    							<p><la:message key="labels.menu_design" /></p>
    						</a></li></c:if>
    						
    					<c:if test="${fe:permission('admin-dict-view') and fesenType!='cloud' and fesenType!='aws'}">
    					<li class="nav-item">
    						<a href="${fe:url('/admin/dict/')}" class="nav-link <c:if test="${param.menuType=='dict'}">active</c:if>">
    							<em class='fa fa-genderless nav-icon'>
    							<p><la:message key="labels.menu_dict" /></p>
    						</a>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Apr 15 20:55:28 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance.go

    		}
    		totalCap += disk.TotalSpace
    		totalFree += disk.AvailableSpace
    
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    		diskStats[disk.PoolIndex].TotalSpace += disk.TotalSpace
    	}
    	r.PercentFreeGoal = float64(totalFree) / float64(totalCap)
    
    	now := time.Now()
    	for idx := range z.serverPools {
    		r.PoolStats[idx] = &rebalanceStats{
    			Buckets:           make([]string, len(buckets)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  10. buildscripts/multipart-quorum-test.sh

    			purge "${MC_BUILD_DIR}"
    			exit 1
    		fi
    
    		(cd "${MC_BUILD_DIR}" && go build -o "$C_PWD/mc")
    
    		# remove mc source.
    		purge "${MC_BUILD_DIR}"
    	fi
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/disk{1...10}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 5
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top