Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for pushHead (0.15 sec)

  1. src/sync/pool_test.go

    						runtime.Gosched()
    					}
    				}
    			}
    			wg.Done()
    		}()
    	}
    
    	// Start 1 producer.
    	nPopHead := 0
    	wg.Add(1)
    	go func() {
    		for j := 0; j < N; j++ {
    			for !d.PushHead(j) {
    				// Allow a popper to run.
    				runtime.Gosched()
    			}
    			if j%10 == 0 {
    				val, ok := d.PopHead()
    				if ok {
    					nPopHead++
    					record(val.(int))
    				}
    			}
    		}
    		wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/sync/pool.go

    	New func() any
    }
    
    // Local per-P Pool appendix.
    type poolLocalInternal struct {
    	private any       // Can be used only by the respective P.
    	shared  poolChain // Local P can pushHead/popHead; any P can popTail.
    }
    
    type poolLocal struct {
    	poolLocalInternal
    
    	// Prevents false sharing on widespread platforms with
    	// 128 mod (cache line size) = 0 .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. .github/workflows/notify-on-rc-for-manual-test.yml

                  "blocks": [
                    {
                      "type": "section",
                      "text": {
                        "type": "mrkdwn",
                        "text": "<https://github.com/gradle/gradle/${{ github.event.ref }}|[gradle/gradle#${{ github.event.ref }}]> has been pushed"
                      }
                    }
                  ]
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. src/cmd/link/testdata/linkname/push.go

    // "Push" linknames are ok.
    
    package main
    
    import (
    	"cmd/link/testdata/linkname/p"
    	_ "unsafe"
    )
    
    // Push f1 to p.
    //
    //go:linkname f1 cmd/link/testdata/linkname/p.f1
    func f1() { f2() }
    
    // f2 is pushed from p.
    //
    //go:linkname f2
    func f2()
    
    func main() {
    	p.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 426 bytes
    - Viewed (0)
  5. src/cmd/link/testdata/linkname/p/p.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    import _ "unsafe"
    
    // f1 is pushed from main.
    //
    //go:linkname f1
    func f1()
    
    // Push f2 to main.
    //
    //go:linkname f2 main.f2
    func f2() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 328 bytes
    - Viewed (0)
  6. pilot/pkg/xds/monitoring.go

    	rdsSendErrPushes = pushes.With(typeTag.Value("rds_senderr"))
    
    	debounceTime = monitoring.NewDistribution(
    		"pilot_debounce_time",
    		"Delay in seconds between the first config enters debouncing and the merged push request is pushed into the push queue.",
    		[]float64{.01, .1, 1, 3, 5, 10, 20, 30},
    	)
    
    	pushContextInitTime = monitoring.NewDistribution(
    		"pilot_pushcontext_init_seconds",
    		"Total time in seconds Pilot takes to init pushContext.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. .github/workflows/contributor-pr.yml

      pull_request:
        branches:
          - master
    
    concurrency:
      # On master/release, we don't want any jobs cancelled so the sha is used to name the group
      # On PR branches, we cancel the job if new commits are pushed
      group: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('contributor-pr-base-{0}', github.sha) || format('contributor-pr-{0}', github.ref) }}
      cancel-in-progress: true
    
    env:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/endpointshards.go

    	FullPush
    )
    
    // UpdateServiceEndpoints updates EndpointShards data by clusterID, hostname, IstioEndpoints.
    // It also tracks the changes to ServiceAccounts. It returns whether endpoints need to be pushed and
    // it also returns if they need to be pushed whether a full push is needed or incremental push is sufficient.
    func (e *EndpointIndex) UpdateServiceEndpoints(
    	shard ShardKey,
    	hostname string,
    	namespace string,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. tools/docker.yaml

    # This folder is then passed as the docker context. This avoids complex .dockerignore or large context loads.
    
    # Example image config
    example:
    - name: helloworld # Name of the image. Will end up pushed to <HUB>/helloworld:<TAG>
      dockerfile: helloworld/Dockerfile.proxyv2
      files:
      # Include a static file
      # Inside the Dockerfile, this is referenced by the base name (README.md), not the full name.
      - samples/README.md
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

              num_elements *= tensor.getDimSize(i);
            }
          }
          return num_elements;
        };
    
        // If the op is the pass-through op with (3x) smaller output, the dequantize
        // op can be pushed down to the single result of this op.
        if (!llvm::dyn_cast<mlir::SameScalesOpInterface>(passthrough_op) ||
            passthrough_op->getNumResults() != 1) {
          return failure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top