Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 407 for loop (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      protected void startUp() throws Exception {}
    
      /**
       * Run the service. This method is invoked on the execution thread. Implementations must respond
       * to stop requests. You could poll for lifecycle changes in a work loop:
       *
       * <pre>
       *   public void run() {
       *     while ({@link #isRunning()}) {
       *       // perform a unit of work
       *     }
       *   }
       * </pre>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        int successorCount = 0;
    
        for (EndpointPair<N> incidentEdge : incidentEdges) {
          if (incidentEdge.nodeU().equals(thisNode) && incidentEdge.nodeV().equals(thisNode)) {
            // incidentEdge is a self-loop
    
            adjacentNodeValues.put(thisNode, new PredAndSucc(successorNodeToValueFn.apply(thisNode)));
    
            orderedNodeConnectionsBuilder.add(new NodeConnection.Pred<>(thisNode));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. callbacks/associations.go

    	}
    
    	return
    }
    
    func saveAssociations(db *gorm.DB, rel *schema.Relationship, rValues reflect.Value, selectColumns map[string]bool, restricted bool, defaultUpdatingColumns []string) error {
    	// stop save association loop
    	if checkAssociationsSaved(db, rValues) {
    		return nil
    	}
    
    	var (
    		selects, omits []string
    		onConflict     = onConflictOption(db.Statement, rel.FieldSchema, defaultUpdatingColumns)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. gradlew

            # Roll the args list around exactly as many times as the number of
            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. cmd/site-replication-utils.go

    	go s.init(ctx)
    	return &s
    }
    
    // init site resync metrics
    func (sm *siteResyncMetrics) init(ctx context.Context) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Run the site resync metrics load in a loop
    	for {
    		if err := sm.load(ctx, newObjectLayerFn()); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Second*10)),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N2, E12_A));
        assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE);
    
        // By default, self-loop edges are not allowed.
        e = assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N1, E11));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
                            if (response.received && request.questionType == response.recordType) {
                                return;
                            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        public @Nullable Entry<K, V> firstEntry() {
          return standardFirstEntry();
        }
    
        /*
         * We can't override lastEntry to delegate to standardLastEntry, as it would create an infinite
         * loop. Instead, we test standardLastEntry manually below.
         */
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Fingerprint2011.java

       */
      private static long fullFingerprint(byte[] bytes, int offset, int length) {
        // For lengths over 64 bytes we hash the end first, and then as we
        // loop we keep 56 bytes of state: v, w, x, y, and z.
        long x = load64(bytes, offset);
        long y = load64(bytes, offset + length - 16) ^ K1;
        long z = load64(bytes, offset + length - 56) ^ K0;
        long[] v = new long[2];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            addrEntry = new NbtAddress[rDataLength / 6];
            end = srcIndex + rDataLength;
            /* Apparently readRDataWireFormat can return 0 if resultCode != 0 in
            which case this will look indefinitely. Putting this else clause around
            the loop might fix that. But I would need to see a capture to confirm.
            if (resultCode != 0) {
                srcIndex += rDataLength;
            } else {
            */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top