- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,091 for GETs (0.05 sec)
-
src/runtime/race/testdata/pool_test.go
package race_test import ( "sync" "testing" "time" ) func TestRacePool(t *testing.T) { // Pool randomly drops the argument on the floor during Put. // Repeat so that at least one iteration gets reuse. for i := 0; i < 10; i++ { c := make(chan int) p := &sync.Pool{New: func() any { return make([]byte, 10) }} x := p.Get().([]byte) x[0] = 1 p.Put(x) go func() { y := p.Get().([]byte)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 933 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue62430/main.go
// to have no references to an initialized global map variable defined // in some stdlib package (ex: unicode), however there // may be references to that map var from a plugin that // gets loaded. package main import ( "fmt" "plugin" "unicode" ) func main() { p, err := plugin.Open("issue62430.so") if err != nil { panic(err) } s, err := p.Lookup("F")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 13:18:51 UTC 2023 - 804 bytes - Viewed (0) -
src/runtime/testdata/testwinlibsignal/main.c
return 1; } // The library must be loaded after the SetConsoleCtrlHandler call // so that the library handler registers after the main program. // This way the library handler gets called first. HMODULE dummyDll = LoadLibrary("dummy.dll"); if (!dummyDll) { fprintf(stderr, "ERROR: Could not load dummy.dll\n"); return 1; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 21 13:21:00 UTC 2021 - 1.5K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/scripts/TemplateBasedScriptGenerator.java
/** * Sets the template text resource used for generating script. * * @param template Template text resource */ void setTemplate(TextResource template); /** * Gets the template reader used for generating script. * * @return Template reader */ TextResource getTemplate();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap.go
func Mmap(f *os.File, data *Data) (Data, error) { return mmapFile(f, data) } // Munmap unmaps the given file from memory. func Munmap(d *Data) error { // d.f.Close() on Windows still gets an error return munmapFile(*d)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 21:40:49 UTC 2024 - 1002 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public class RegularImmutableAsListTest extends TestCase { /** * RegularImmutableAsList should assume its input is null-free without checking, because it only * gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 1.4K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java
package org.apache.maven.model.superpom; import org.apache.maven.model.Model; /** * Provides the super POM that all models implicitly inherit from. * */ public interface SuperPomProvider { /** * Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the * caller intends to make updates to the model the return value must be cloned before updating to ensure the
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLifecyclePluginIntegrationTest.groovy
layout.projectDirectory.dir( service.map { // intentionally capture the `project` object to force a cc failure // in case this gets serialized it.buildDirFor(project) } ) ) """ when: buildDir.mkdir() configurationCacheRun 'clean'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.3K bytes - Viewed (0) -
test/abi/defer_recover_results.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 06 20:22:15 UTC 2021 - 800 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectHierarchyUtils.java
* limitations under the License. */ package org.gradle.api.internal.project; import org.gradle.api.Project; import java.util.Collection; public class ProjectHierarchyUtils { /** * Gets the collection of the direct child projects from {@code thisProject}. * This method is safe to use in the Gradle internal code, as it does not impose the contracts * specific to the project public API. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Oct 22 03:06:58 UTC 2022 - 1.4K bytes - Viewed (0)