- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for unusual (0.34 sec)
-
src/slices/iter.go
// license that can be found in the LICENSE file. package slices import ( "cmp" "iter" ) // All returns an iterator over index-value pairs in the slice. // The indexes range in the usual order, from 0 through len(s)-1. func All[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] { return func(yield func(int, E) bool) { for i, v := range s { if !yield(i, v) { return } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:40:32 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/types.go
// The bookmark will report the ResourceVersion (RV) corresponding to the // set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. // Afterwards, the watch stream will proceed as usual, sending watch events // corresponding to changes (subsequent to the RV) to objects watched. // // When `sendInitialEvents` option is set, we require `resourceVersionMatch`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 09:55:40 UTC 2023 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. * * <p>For more extensive testing, add multiple equality groups. Each group should contain objects * that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page")) * .addEqualityGroup(new User("sergey")) * .testEquals();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
src/runtime/mem_windows.go
} func sysUnusedOS(v unsafe.Pointer, n uintptr) { r := stdcall3(_VirtualFree, uintptr(v), n, _MEM_DECOMMIT) if r != 0 { return } // Decommit failed. Usual reason is that we've merged memory from two different // VirtualAlloc calls, and Windows will only let each VirtualFree handle pages from // a single VirtualAlloc. It is okay to specify a subset of the pages from a single alloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedSpecInterceptor.groovy
expectedFailure(ex, feature) ignoreCleanupAssertionsOf(invocation) return true } // Trigger validation failures early so they can still fail the test the usual way try { allResettableExpectationsOf(invocation.instance).forEach { expectations -> expectations.resetExpectations() } } catch (Throwable ex) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 13:10:05 UTC 2024 - 6.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java
import org.apache.maven.toolchain.model.ToolchainModel; import org.slf4j.Logger; /** * Default abstract toolchain implementation, to be used as base class for any toolchain implementation * to avoid rewriting usual code. * * @since 2.0.9 */ public abstract class DefaultToolchain // should have been AbstractToolchain... implements Toolchain, ToolchainPrivate { private final Logger logger; private String type;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 09:07:17 UTC 2023 - 4.7K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
``` The file `test_main.py` would have the tests for `main.py`, it could look like this now: ```Python {!../../../docs_src/async_tests/test_main.py!} ``` ## Run it You can run your tests as usual via: <div class="termy"> ```console $ pytest ---> 100% ``` </div> ## In Detail The marker `@pytest.mark.anyio` tells pytest that this test function should be called asynchronously:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jan 13 12:07:15 UTC 2024 - 3.9K bytes - Viewed (0) -
src/math/big/doc.go
Int signed integers Rat rational numbers Float floating-point numbers The zero value for an [Int], [Rat], or [Float] correspond to 0. Thus, new values can be declared in the usual ways and denote 0 without further initialization: var x Int // &x is an *Int of value 0 var r = &Rat{} // r is a *Rat of value 0 y := new(Float) // y is a *Float of value 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 3.8K bytes - Viewed (0) -
src/internal/godebug/godebug_test.go
} if count := m[0].Value.Uint64(); count != 3 { t.Fatalf("NonDefault value = %d, want 3", count) } } // TestPanicNilRace checks for a race in the runtime caused by use of runtime // atomics (not visible to usual race detection) to install the counter for // non-default panic(nil) semantics. For #64649. func TestPanicNilRace(t *testing.T) { if !race.Enabled { t.Skip("Skipping test intended for use with -race.") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
src/plugin/plugin.go
// be simpler for that person or component to generate Go source // files that blank-import the desired set of plugins and then // compile a static executable in the usual way. // // For these reasons, many users decide that traditional interprocess // communication (IPC) mechanisms such as sockets, pipes, remote // procedure call (RPC), shared memory mappings, or file system
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:46:10 UTC 2023 - 4.3K bytes - Viewed (0)