Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 284 for aloop (0.04 sec)

  1. 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 (1)
  2. pkg/volume/nfs/nfs.go

    				klog.Errorf("IsNotMountPoint check failed: %v", mntErr)
    				return err
    			}
    			if !notMnt {
    				// This is very odd, we don't expect it.  We'll try again next sync loop.
    				klog.Errorf("%s is still mounted, despite call to unmount().  Will try again next sync loop.", dir)
    				return err
    			}
    		}
    		os.Remove(dir)
    		return err
    	}
    	return nil
    }
    
    var _ volume.Unmounter = &nfsUnmounter{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/volumemanager/volume_manager.go

    )
    
    const (
    	// reconcilerLoopSleepPeriod is the amount of time the reconciler loop waits
    	// between successive executions
    	reconcilerLoopSleepPeriod = 100 * time.Millisecond
    
    	// desiredStateOfWorldPopulatorLoopSleepPeriod is the amount of time the
    	// DesiredStateOfWorldPopulator loop waits between successive executions
    	desiredStateOfWorldPopulatorLoopSleepPeriod = 100 * time.Millisecond
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @return a long of a concatenated 8 bytes
       */
      static long load64(byte[] input, int offset) {
        // We don't want this in production code as this is the most critical part of the loop.
        assert input.length >= offset + 8;
        // Delegates to the fast (unsafe) version or the fallback.
        return byteArray.getLongLittleEndian(input, offset);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  7. guava/src/com/google/common/util/concurrent/AbstractFuture.java

                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  8. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		},
    
    		// R31 is temp register
    		// Loop code:
    		//	MOVD len/32,R31		set up loop ctr
    		//	MOVD R31,CTR
    		//	MOVD $16,R31		index register
    		// loop:
    		//	LXVD2X (R0)(R4),VS32
    		//	LXVD2X (R31)(R4),VS33
    		//	ADD  R4,$32          increment src
    		//	STXVD2X VS32,(R0)(R3)
    		//	STXVD2X VS33,(R31)(R3)
    		//	ADD  R3,$32          increment dst
    		//	BC 16,0,loop         branch ctr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @return a long of a concatenated 8 bytes
       */
      static long load64(byte[] input, int offset) {
        // We don't want this in production code as this is the most critical part of the loop.
        assert input.length >= offset + 8;
        // Delegates to the fast (unsafe) version or the fallback.
        return byteArray.getLongLittleEndian(input, offset);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/sync/pool_test.go

    	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++ {
    		if try == 1 && testing.Short() {
    			break
    		}
    		var fin, fin1 uint32
    		for i := 0; i < N; i++ {
    			v := new(string)
    			runtime.SetFinalizer(v, func(vv *string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top