- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 297 for chancap (0.12 sec)
-
src/internal/fuzz/mutator.go
case float32: vals[i] = float32(m.mutateFloat(float64(v), math.MaxFloat32)) case float64: vals[i] = m.mutateFloat(v, math.MaxFloat64) case bool: if m.rand(2) == 1 { vals[i] = !v // 50% chance of flipping the bool } case rune: // int32 vals[i] = rune(m.mutateInt(int64(v), math.MaxInt32)) case byte: // uint8 vals[i] = byte(m.mutateUInt(uint64(v), math.MaxUint8)) case string:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K bytes - Viewed (0) -
test/fibo.go
// and compiled with different compilers. func (z nat) make(n int) nat { if n <= cap(z) { return z[:n] // reuse z } // Choosing a good value for e has significant performance impact // because it increases the chance that a value can be reused. const e = 4 // extra capacity return make(nat, n, n+e) } // z = x func (z nat) set(x nat) nat { z = z.make(len(x)) copy(z, x) return z } // z = x + y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 08 22:22:58 UTC 2014 - 6.3K bytes - Viewed (0) -
src/os/dir_windows.go
// Note that some file system drivers may never return this error code, as the spec allows to return the "." and ".." // entries in such cases, making the directory appear non-empty. // The chances of false positive are very low, as we know that the directory exists, else GetVolumeInformationByHandle // would have failed, and that the handle is still valid, as we haven't closed it. // See go.dev/issue/61159.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/base/internal/Finalizer.java
Class<?> finalizableReferenceClass = finalizableReferenceClassReference.get(); if (finalizableReferenceClass == null) { /* * FinalizableReference's class loader was reclaimed. While there's a chance that other * finalizable references could be enqueued subsequently (at which point the class loader * would be resurrected by virtue of us having a strong reference to it), we should pretty
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/VariantMetadataRules.java
private VariantFilesRules variantFilesRules; private final AttributeContainerInternal baseAttributes; // If two configurations have a dependency on the same module, there is a chance they can be // resolved concurrently. Dependency resolution exercises this code when performing attribute // matching, so this map must support concurrent modification.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.4K bytes - Viewed (0) -
staging/src/k8s.io/api/policy/v1/generated.proto
// but not yet healthy are considered disrupted and can be evicted regardless // of whether the criteria in a PDB is met. This means perspective running // pods of a disrupted application might not get a chance to become healthy. // Healthy pods will be subject to the PDB for eviction. // // Additional policies may be added in the future. // Clients making eviction decisions should disallow eviction of unhealthy pods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
if err != nil { if IsNotRegisteredError(err) { continue } return nil, err } return obj, nil } // could not decode, so leave the object as Unknown, but give the decoders the // chance to set Unknown.TypeMeta if it is available. for _, decoder := range decoders { if err := DecodeInto(decoder, obj.Raw, obj); err == nil { return obj, nil } } return obj, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go
endpoint := webhookServer.URL + "/convert" webhookConfig := &apiextensionsv1.WebhookClientConfig{ CABundle: localhostCert, URL: &endpoint, } // StartTLS returns immediately, there is a small chance of a race to avoid. if err := wait.PollImmediate(time.Millisecond*100, wait.ForeverTestTimeout, func() (bool, error) { _, err := webhookServer.Client().Get(webhookServer.URL) // even a 404 is fine return err == nil, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 01:38:09 UTC 2022 - 10.2K bytes - Viewed (0) -
src/os/signal/signal.go
// To avoid the possibility that the signal is delivered, // and the signal handler invoked, and then Stop deregisters // the channel before the process function below has a chance // to send it on the channel, put the channel on a list of // channels being stopped and wait for signal delivery to // quiesce before fully removing it. handlers.stopping = append(handlers.stopping, stopping{c, h})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/pt/docs/advanced/events.md
Mas `open()` não usa `async` e `await`. Então, nós declaramos uma função de manipulação de evento com o padrão `def` ao invés de `async def`. ### `startup` e `shutdown` juntos Há uma grande chance que a lógica para sua *inicialização* e *encerramento* esteja conectada, você pode querer iniciar alguma coisa e então finalizá-la, adquirir um recurso e então liberá-lo, etc.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.6K bytes - Viewed (0)