Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 676 for aloop (0.05 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.cc

      });
      return total_cost;
    }
    
    const TargetHardware* GetTargetHardware(const std::string& hardware_name) {
      const std::string canonical_name = GetCanonicalHardwareName(hardware_name);
      // Just loop for now, we don't expect number of hardwares to be huge.
      // Revisit to have map if number of elements increased.
      auto* registered_hardwares = GetRegisteredHardwares();
      for (const auto& hardware : *registered_hardwares) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. plugin/pkg/admission/imagepolicy/admission_test.go

      context:
        cluster: foobar
        user: a name
    current-context: default
    `,
    			wantErr: true,
    		},
    	}
    
    	for _, tt := range tests {
    		// Use a closure so defer statements trigger between loop iterations.
    		t.Run(tt.msg, func(t *testing.T) {
    			err := func() error {
    				tempfile, err := os.CreateTemp("", "")
    				if err != nil {
    					return err
    				}
    				p := tempfile.Name()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  3. src/cmd/internal/src/pos.go

    	// boundary; for loops with initialization may have one for their entry and one for their back edge
    	// (this depends on exactly how the loop is compiled; the intent is to provide a good experience to a
    	// user debugging a program; the goal is that a breakpoint set on the loop line fires both on entry
    	// and on iteration).  Proper treatment of non-gofmt input with multiple simple statements on a single
    	// line is TBD.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

          devices, side_effect_analysis, solver, composite_tpuexecute_side_effects);
    
      // Check for presence of unknown side-effecting ops within the while loop
      // body. These ops act as barriers and the optimization would not yield much
      // inter iteration parallelism for this while loop body. So return with
      // warning.
      if (chain_resource_to_ops_map.count(kUnknownResourceAndDevice) > 0) {
        std::set<std::string> blocking_ops;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/fmt.go

    	}
    	return false
    }
    
    func stmtFmt(n Node, s fmt.State) {
    	// NOTE(rsc): This code used to support the text-based
    	// which was more aggressive about printing full Go syntax
    	// (for example, an actual loop instead of "for loop").
    	// The code is preserved for now in case we want to expand
    	// any of those shortenings later. Or maybe we will delete
    	// the code. But for now, keep it.
    	const exportFormat = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  6. src/hash/crc32/crc32_ppc64le.s

    	MOVWZ	R21,R7		// crc for next round
    	BDNZ 	loop
    	ANDCC	$7,R6,R8	// any leftover bytes
    	BEQ	done		// none --> done
    	MOVD	R8,CTR		// byte count
    	PCALIGN $16             // align short loop
    short:
    	MOVBZ 	0(R5),R8	// get v
    	XOR 	R8,R7,R8	// byte(crc)^v -> R8
    	RLDIC	$2,R8,$54,R8	// rldicl r8,r8,2,22
    	SRD 	$8,R7,R14	// crc>>8
    	MOVWZ	(R4)(R8),R10
    	ADD	$1,R5
    	XOR 	R10,R14,R7	// loop crc in R7
    	BDNZ 	short
    done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/productpage.py

    # flood reviews with unnecessary requests to demonstrate Istio rate limiting
    
    
    def floodReviews(product_id, headers):
        loop = asyncio.new_event_loop()
        loop.run_until_complete(floodReviewsAsynchronously(product_id, headers))
        loop.close()
    
    
    @app.route('/productpage')
    def front():
        product_id = 0  # TODO: replace default value
        headers = getForwardHeaders(request)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/image/draw/draw_test.go

    								r, test.desc, dst, x, y, dst.At(x, y), golden.At(x, y))
    							continue loop
    						}
    					}
    				}
    			}
    		}
    	}
    }
    
    func TestDrawOverlap(t *testing.T) {
    	for _, op := range []Op{Over, Src} {
    		for yoff := -2; yoff <= 2; yoff++ {
    		loop:
    			for xoff := -2; xoff <= 2; xoff++ {
    				m := gradYellow(127).(*image.RGBA)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  9. pkg/volume/util/operationexecutor/operation_executor_test.go

    func isOperationRunSerially(ch <-chan interface{}, quit chan<- interface{}) bool {
    	defer close(quit)
    	numOperationsStarted := 0
    loop:
    	for {
    		select {
    		case <-ch:
    			numOperationsStarted++
    			if numOperationsStarted > 1 {
    				return false
    			}
    		case <-time.After(5 * time.Second):
    			break loop
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/cases/map.go

    				return c.writeString("i") && c.writeBytes(c.src[start:c.pSrc]) // ignore U+0307
    			}
    			done = true
    			break Loop
    		case cccZero:
    			c.unreadRune()
    			done = true
    			break Loop
    		default:
    			// We'll write this rune after we know which starter to use.
    		}
    	}
    	if i == maxIgnorable {
    		done = true
    	}
    	return c.writeString("ı") && c.writeBytes(c.src[start:c.pSrc+c.sz]) && done
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top