Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for aloop (0.2 sec)

  1. src/cmd/internal/obj/arm64/asm7.go

    		}
    		if p.As == obj.APCALIGN || p.As == obj.APCALIGNMAX {
    			v := obj.AlignmentPaddingLength(int32(p.Pc), p, c.ctxt)
    			for i = 0; i < int(v/4); i++ {
    				// emit ANOOP instruction by the padding size
    				c.ctxt.Arch.ByteOrder.PutUint32(bp, OP_NOOP)
    				bp = bp[4:]
    				psz += 4
    			}
    		} else {
    			c.asmout(p, o, out[:])
    			for i = 0; i < sz/4; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		decorator   func(runtime.Object)
    		beginUpdate func(context.Context, runtime.Object, runtime.Object, *metav1.UpdateOptions) (FinishFunc, error)
    		afterUpdate AfterUpdateFunc
    		// the TTLFunc is an easy hook to force an inner-loop retry
    		ttl              func(obj runtime.Object, existing uint64, update bool) (uint64, error)
    		expectError      bool
    		expectMilestones []string // to test sequence
    	}{{
    		name: "inner retry success",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	return nil
    }
    
    func (p *ReplicationPool) startResyncRoutine(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Run the replication resync in a loop
    	for {
    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    		// racing idle-timeout).
    		//
    		// With unlucky and very stable scheduling (as may be the case with the fake wasm
    		// net stack), this can result in an infinite retry loop that doesn't
    		// propagate the error up far enough for us to adjust the WriteTimeout.
    		//
    		// To avoid that problem, we explicitly forbid internal retries by rejecting
    		// them in a Proxy hook in the transport.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

          %zero = arith.constant dense<0> : tensor<i32>
          %ne = "tf.NotEqual"(%carg1, %zero) : (tensor<i32>, tensor<i32>) -> tensor<i1>
          "tf.Yield"(%ne) : (tensor<i1>) -> ()
        },
        {
          // loop body
          ^bb0(%barg0: tensor<*xf32>, %barg1: tensor<i32>):
          %add = "tf.Add"(%barg0, %barg0) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
          %one = arith.constant dense<1> : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

                bodyRef.set(response.body.string())
              } catch (e: IOException) {
                // It is ok if this broke the stream.
                bodyRef.set("A")
                throw e // We expect to not loop into onFailure in this case.
              } finally {
                latch.countDown()
              }
            }
          },
        )
        latch.await()
        assertThat(bodyRef.get()).isEqualTo("A")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
    
      // Infers shape of tf.While/tf.WhileRegion. If `shape_invariant` attribute is
      // set, operand types are set as result types if associated body result types
      // match the operand type (does not change per loop iteration). If operand and
      // body result types are not the same, only handle types are propagated to
      // result types. This is necessary to not incorrectly change result shapes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        begin_int = std::min(begin_int, rank - 1);
        end_int = std::min(end_int, rank - 1);
      }
    
      SmallVector<int64_t, 2> sub_shape;
      // Only handle cases that have something to slice to avoid infinite for-loop.
      if ((end_int > begin_int && strides_int > 0) ||
          (end_int < begin_int && strides_int < 0)) {
        // Extract sub-shape only if all of those dimensions are static.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. src/net/http/server.go

    	connection       string
    	transferEncoding string
    	date             []byte // written if not nil
    	contentLength    []byte // written if not nil
    }
    
    // Sorted the same as extraHeader.Write's loop.
    var extraHeaderKeys = [][]byte{
    	[]byte("Content-Type"),
    	[]byte("Connection"),
    	[]byte("Transfer-Encoding"),
    }
    
    var (
    	headerContentLength = []byte("Content-Length: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. src/database/sql/sql_test.go

    		}
    		if err != nil {
    			t.Fatal(err)
    		}
    		t.Logf("read %q", s)
    		if mode == "bottom" && numRows == 2 {
    			// cancel before Next should be observed by Next, exiting the loop.
    			// The sleep here is only to make it more likely that the cancel will be observed.
    			// If not, the test should still pass, like in "go" mode.
    			cancel()
    			time.Sleep(100 * time.Millisecond)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top