Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for poop (0.07 sec)

  1. src/sync/pool.go

    // Get selects an arbitrary item from the [Pool], removes it from the
    // Pool, and returns it to the caller.
    // Get may choose to ignore the pool and treat it as empty.
    // Callers should not assume any relation between values passed to [Pool.Put] and
    // the values returned by Get.
    //
    // If Get would otherwise return nil and p.New is non-nil, Get returns
    // the result of calling p.New.
    func (p *Pool) Get() any {
    	if race.Enabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/sync/pool_test.go

    		t.Fatalf("got %v; want 3", v)
    	}
    }
    
    // Test that Pool does not hold pointers to previously cached resources.
    func TestPoolGC(t *testing.T) {
    	testPool(t, true)
    }
    
    // Test that Pool releases resources on GC.
    func TestPoolRelease(t *testing.T) {
    	testPool(t, false)
    }
    
    func testPool(t *testing.T, drain bool) {
    	var p Pool
    	const N = 100
    loop:
    	for try := 0; try < 3; try++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

    std::array<int, 4> GetPadOpPaddingValues(const TorchAvgPoolData& pool) {
      int pad_bottom = pool.ph;
      int pad_right = pool.pw;
    
      if (pool.ceil_mode) {
        const int remaining_bottom = pool.h_in - ((pool.h_out - 1) * pool.sh);
        const int ceil_pad_bottom = pool.kh - remaining_bottom;
        pad_bottom = ceil_pad_bottom - pool.ph;
    
        const int remaining_right = pool.w_in - ((pool.w_out - 1) * pool.sw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/util/ConfigureUtilTest.groovy

            def prop = "prop"
            def foo = "foo"
    
            when:
            ConfigureUtil.configureByMap(["$prop": 'value'], obj, ["$foo"])
    
            then:
            def e = thrown(IncompleteInputException)
            e.missingKeys.contains("foo")
    
            when:
            ConfigureUtil.configureByMap(["$prop": 'value'], obj, ["$prop"])
    
            then:
            assert obj.prop == 'value'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/looprotate.go

    package ssa
    
    // loopRotate converts loops with a check-loop-condition-at-beginning
    // to loops with a check-loop-condition-at-end.
    // This helps loops avoid extra unnecessary jumps.
    //
    //	 loop:
    //	   CMPQ ...
    //	   JGE exit
    //	   ...
    //	   JMP loop
    //	 exit:
    //
    //	  JMP entry
    //	loop:
    //	  ...
    //	entry:
    //	  CMPQ ...
    //	  JLT loop
    func loopRotate(f *Func) {
    	loopnest := f.loopnest()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. .github/workflows/contributor-pr.yml

              java-version: 11
          - id: determine-sys-prop-args
            uses: actions/github-script@v7
            with:
              script: |
                if (context.payload.pull_request && context.payload.pull_request.head.repo.fork) {
                    core.setOutput('sys-prop-args', '-DagreePublicBuildScanTermOfService=yes -DcacheNode=us')
                } else {
                    core.setOutput('sys-prop-args', '-DcacheNode=us')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/reflect/iter_test.go

    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) {
    			i := int8(0)
    			for v := range s {
    				if v.Interface().(int8) != i {
    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. buildscripts/verify-build.sh

    	export MINIO_ROOT_PASSWORD=$SECRET_KEY
    	export MINIO_ENDPOINTS="http://127.0.0.1:9000${WORK_DIR}/pool-disk-sets{1...4} http://127.0.0.1:9001${WORK_DIR}/pool-disk-sets{5...8}"
    	"${MINIO[@]}" server --address ":9000" >"$WORK_DIR/pool-minio-9000.log" 2>&1 &
    	"${MINIO[@]}" server --address ":9001" >"$WORK_DIR/pool-minio-9001.log" 2>&1 &
    
    	"${WORK_DIR}/mc" ready verify
    }
    
    function start_minio_pool_erasure_sets_ipv6() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

                    SomeTask() {
                        value = new OtherBean(prop: 'a')
                        bean.value = new OtherBean(prop: 'b')
                    }
    
                    @TaskAction
                    void run() {
                        println "this.value = " + value.prop
                        println "bean.value = " + bean.value.prop
                    }
                }
    
                task ok(type: SomeTask)
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/DefaultJansiRuntimeResolver.java

            return getOperatingSystem() + getBitModel();
        }
    
        private int getBitModel() {
            String prop = System.getProperty("sun.arch.data.model");
            if (prop == null) {
                prop = System.getProperty("com.ibm.vm.bitmode");
            }
            if (prop != null) {
                return Integer.parseInt(prop);
            }
            return -1;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top