Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for deterministically (0.23 seconds)

  1. tests/test_list_bytes_file_order_preserved_issue_14811.py

            return [b[0] for b in files]
    
        original_read = StarletteUploadFile.read
    
        async def patched_read(self: StarletteUploadFile, size: int = -1) -> bytes:
            # Make the FIRST file slower *deterministically*
            if self.filename == "slow.txt":
                await anyio.sleep(0.05)
            return await original_read(self, size)
    
        monkeypatch.setattr(StarletteUploadFile, "read", patched_read)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                @Override
                public String toString() {
                    return "Entry(" + name + ")";
                }
            };
        }
    
        // Controllable concrete subclass to drive behavior deterministically
        private static class TestIterator extends DirFileEntryEnumIteratorBase {
            private static FileEntry staticInitial;
            private static List<FileEntry[]> staticPages;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Unit test for [FastFallbackExchangeFinder] implementation details.
     *
     * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has
     * the same structure:
     *
     *  * prepare a set of plans, each with a predictable connect delay
     *  * attempt to find a connection
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

            if (var.equalsType(t)) {
              // cycle detected, remove the entire cycle from the mapping so that
              // each type variable resolves deterministically to itself.
              // Otherwise, an F -> T cycle will end up resolving both F and T
              // nondeterministically to either F or T.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  5. cmd/common-main.go

    			config.EnvRootUser, config.EnvRootPassword)
    		logger.Info(color.RedBold(msg))
    	}
    	globalCredViaEnv = true
    	return cred
    }
    
    // autoGenerateRootCredentials generates root credentials deterministically if
    // a KMS is configured, no manual credentials have been specified and if root
    // access is disabled.
    func autoGenerateRootCredentials() auth.Credentials {
    	if GlobalKMS == nil {
    		return globalActiveCred
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  6. RELEASE.md

        "true" or "1", this environment variable makes `tf.nn.bias_add` operate
        deterministically (i.e. reproducibly), but currently only when XLA JIT
        compilation is *not* enabled. Setting `TF_DETERMINISTIC_OPS` to "true" or
        "1" also makes cuDNN convolution and max-pooling operate deterministically.
        This makes Keras Conv\*D and MaxPool\*D layers operate deterministically in
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  7. cmd/bucket-replication.go

    		p.mrfWorkerSize--
    		go func() { p.mrfWorkerKillCh <- struct{}{} }()
    	}
    }
    
    const (
    	minLargeObjSize = 128 * humanize.MiByte // 128MiB
    )
    
    // getWorkerCh gets a worker channel deterministically based on bucket and object names.
    // Must be able to grab read lock from p.
    
    func (p *ReplicationPool) getWorkerCh(bucket, object string, sz int64) chan<- ReplicationWorkerOperation {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.35.md

    - Promoted the `KubeletCrashLoopBackOffMax` feature gate to beta and enabled it by default. ([#135044](https://github.com/kubernetes/kubernetes/pull/135044), [@hankfreund](https://github.com/hankfreund))
    - Selected a single device class deterministically when multiple device classes were available for an extended resource. ([#135037](https://github.com/kubernetes/kubernetes/pull/135037), [@yliaog](https://github.com/yliaog)) [SIG Node, Scheduling and Testing]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:20:49 GMT 2026
    - 265.9K bytes
    - Click Count (0)
  9. doc/go_spec.html

    </p>
    
    <p>
    For signed integers, the operations <code>+</code>,
    <code>-</code>, <code>*</code>, <code>/</code>, and <code>&lt;&lt;</code> may legally
    overflow and the resulting value exists and is deterministically defined
    by the signed integer representation, the operation, and its operands.
    Overflow does not cause a <a href="#Run_time_panics">run-time panic</a>.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top