- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 1,812 for path (0.02 seconds)
-
internal/lsync/lrwmutex.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package lsync import ( "context" "math" "math/rand" "sync" "time" ) // A LRWMutex is a mutual exclusion lock with timeouts. type LRWMutex struct { id string source string isWriteLock bool ref int
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Click Count (0) -
cmd/bucket-stats.go
tot := v[Total] lavg += v[Large].Avg lcurr += v[Large].Curr savg += v[Small].Avg scurr += v[Small].Curr totpeak = math.Max(math.Max(tot.Peak, totpeak), tot.Curr) lpeak = math.Max(math.Max(v[Large].Peak, lpeak), v[Large].Curr) speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr) if lpeak > 0 || speak > 0 { count++ } } if count > 0 { lrg := XferStats{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.building; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertThrows; @Deprecated
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java
groovyImplicitImportPackages.add("groovy.lang."); groovyImplicitImportPackages.add("groovy.util."); groovyImplicitTypes.add("java.math.BigDecimal"); groovyImplicitTypes.add("java.math.BigInteger"); // check that groovy is visible. try { getClass().getClassLoader().loadClass("groovy.lang.Closure"); } catch (ClassNotFoundException e) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 16 15:20:01 GMT 2025 - 6.4K bytes - Click Count (0) -
docs/fr/docs/deployment/versions.md
des changements non rétrocompatibles. FastAPI suit également la convention que tout changement de version "PATCH" est pour des corrections de bogues et des changements rétrocompatibles. /// tip | Astuce Le "PATCH" est le dernier chiffre, par exemple, dans `0.2.3`, la version PATCH est `3`. /// Donc, vous devriez être capable d'épingler une version comme suit : ```txt fastapi>=0.45.0,<0.46.0 ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 4.1K bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial006.py
from unittest.mock import patch from docs_src.python_types.tutorial006_py39 import process_items def test_process_items(): with patch("builtins.print") as mock_print: process_items(["item_a", "item_b", "item_c"]) assert mock_print.call_count == 3 call_args = [arg.args for arg in mock_print.call_args_list] assert call_args == [ ("item_a",), ("item_b",), ("item_c",),
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 426 bytes - Click Count (0) -
api/go1.4.txt
pkg image/png, type Encoder struct pkg image/png, type Encoder struct, CompressionLevel CompressionLevel # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***> pkg math, func Nextafter32(float32, float32) float32 # CL 93550043 math/big: implement Rat.Float32, Robert Griesemer <******@****.***> pkg math/big, method (*Rat) Float32() (float32, bool)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 12 03:01:01 GMT 2014 - 34K bytes - Click Count (0) -
internal/bucket/bandwidth/reader.go
r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java
MavenSession ms = new MavenSession(null, rss, mer, null); ms.getRequest().setRootDirectory(Paths.get("myRootDirectory")); DefaultSession session = new DefaultSession(ms, mock(RepositorySystem.class), Collections.emptyList(), null, null, null); assertEquals(Paths.get("myRootDirectory"), session.getRootDirectory()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0)