Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 376 for putfull (0.1 sec)

  1. src/runtime/mgcwork.go

    //go:nowritebarrier
    func putempty(b *workbuf) {
    	b.checkempty()
    	work.empty.push(&b.node)
    }
    
    // putfull puts the workbuf on the work.full list for the GC.
    // putfull accepts partially full buffers so the GC can avoid competing
    // with the mutators for ownership of partially full buffers.
    //
    //go:nowritebarrier
    func putfull(b *workbuf) {
    	b.checknonempty()
    	work.full.push(&b.node)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    		println()
    		printunlock()
    	}
    }
    
    // enlistWorker encourages another dedicated mark worker to start on
    // another P if there are spare worker slots. It is used by putfull
    // when more work is made available.
    //
    //go:nowritebarrier
    func (c *gcControllerState) enlistWorker() {
    	// If there are idle Ps, wake one so it will run an idle worker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue19911.go

    	check("true", fmt.Sprintf("nilET != nilError: %v", nilET != nilError))
    }
    
    func check(want, gotfull string) {
    	got := gotfull[strings.Index(gotfull, ": ")+len(": "):]
    	if got != want {
    		panic("want " + want + " got " + got + " from " + gotfull)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 10 20:05:56 UTC 2017
    - 832 bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNonEmptyCollectionOnPresentKey() {
        assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), v4())));
        assertGet(k0(), v0(), v3(), v4());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllNonEmptyIterableOnAbsentKey() {
        assertTrue(
            multimap()
                .putAll(
                    k3(),
                    new Iterable<V>() {
                      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_supportedNonePresent() {
        putAll(createDisjointCollection());
        expectAdded(e3(), e4());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutAll_unsupportedNonePresent() {
        try {
          putAll(createDisjointCollection());
          fail("putAll(nonePresent) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNonEmptyCollectionOnPresentKey() {
        assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), v4())));
        assertGet(k0(), v0(), v3(), v4());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllNonEmptyIterableOnAbsentKey() {
        assertTrue(
            multimap()
                .putAll(
                    k3(),
                    new Iterable<V>() {
                      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            multimap = LinkedHashMultimap.create();
            multimap.putAll("foo", asList(2, 3));
            multimap.putAll("bar", asList(4, 5));
            multimap.putAll("foo", asList(6));
            multimap.putAll("baz", asList(7, 8));
            multimap.putAll("dog", asList(9));
            multimap.putAll("bar", asList(10, 11));
            multimap.putAll("cat", asList(12, 13, 14));
            return multimap.keySet().iterator();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            property.putAll(['k3': 'v3'])
            property.putAll(Providers.of(['k4': 'v4']))
    
            when:
            property.empty()
            then:
            assertValueIs([:])
        }
    
        @Issue('gradle/gradle#11036')
        def "throws NullPointerException when provider returns map with null key to property"() {
            given:
            property.putAll(Providers.of(Collections.singletonMap(null, 'value')))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll() {
        Multimap<K, V> source =
            getSubjectGenerator().create(Helpers.mapEntry(k0(), v3()), Helpers.mapEntry(k3(), v3()));
        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), v3()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll() {
        Multimap<K, V> source =
            getSubjectGenerator().create(Helpers.mapEntry(k0(), v3()), Helpers.mapEntry(k3(), v3()));
        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), v3()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 4.1K bytes
    - Viewed (0)
Back to top