Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for deterministically (0.14 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. cmd/metacache-manager.go

    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    // localMetacacheMgr is the *local* manager for this peer.
    // It should never be used directly since buckets are
    // distributed deterministically.
    // Therefore no cluster locks are required.
    var localMetacacheMgr = &metacacheManager{
    	buckets: make(map[string]*bucketMetacache),
    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. CHANGELOG/CHANGELOG-1.4.md

    * Marked NodePhase deprecated. ([#30005](https://github.com/kubernetes/kubernetes/pull/30005), [@dchen1107](https://github.com/dchen1107))
    * Name the job created by scheduledjob (sj) deterministically with sj's name and a hash of job's scheduled time. ([#30420](https://github.com/kubernetes/kubernetes/pull/30420), [@janetkuo](https://github.com/janetkuo))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 133.5K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top