Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 664 for balk (0.08 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          monitor.enter();
          try {
            int i = lastRet;
            if (i == -1) throw new IllegalStateException();
            lastRet = -1;
    
            int ti = takeIndex;
            removeAt(i);
            // back up cursor (reset to front if was first element)
            nextIndex = (i == ti) ? takeIndex : i;
            checkNext();
          } finally {
            monitor.leave();
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        // newFuture's lifetime is determined by taskFuture, which can't complete before oldFuture
        // unless taskFuture is cancelled, in which case it falls back to oldFuture. This ensures that
        // if the future we return is cancelled, we don't begin execution of the next task until after
        // oldFuture completes.
        Runnable listener =
            () -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

        all_input_tensors.reserve(num_inputs);
        for (int i = 0; i < num_inputs; ++i) {
          if (input_tensors[i] == nullptr) continue;
          all_input_tensors.emplace_back();
          Tensor& input_tensor = all_input_tensors.back();
          status->status = TF_TensorToTensor(input_tensors[i], &input_tensor);
          if (!status->status.ok()) return;
          input_tensors_vector[i] = &input_tensor;
        }
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned map
       * to be a view, but it means that the function will be applied many times for bulk operations
       * like {@link Map#containsValue} and {@code Map.toString()}. For this to perform well, {@code
       * function} should be fast. To avoid lazy evaluation when the returned map doesn't need to be a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned map
       * to be a view, but it means that the function will be applied many times for bulk operations
       * like {@link Map#containsValue} and {@code Map.toString()}. For this to perform well, {@code
       * function} should be fast. To avoid lazy evaluation when the returned map doesn't need to be a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. internal/hash/checksum.go

    	return NewChecksumWithType(NewChecksumType(alg), value)
    }
    
    // AppendTo will append the checksum to b.
    // 'parts' is used when checksum has ChecksumMultipart set.
    // ReadCheckSums reads the values back.
    func (c *Checksum) AppendTo(b []byte, parts []byte) []byte {
    	if c == nil {
    		return nil
    	}
    	var tmp [binary.MaxVarintLen32]byte
    	n := binary.PutUvarint(tmp[:], uint64(c.Type))
    	crc := c.Raw
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    		in.Push(NewSlice(in.Base(), in.Line(), macro.tokens))
    		return
    	}
    	tok := in.Stack.Next()
    	if tok != '(' {
    		// If the macro has arguments but is invoked without them, all we push is the macro name.
    		// First, put back the token.
    		in.peekToken = tok
    		in.peekText = in.text
    		in.peek = true
    		in.Push(NewSlice(in.Base(), in.Line(), []Token{Make(macroName, macro.name)}))
    		return
    	}
    	actuals := in.argsFor(macro)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. istioctl/pkg/validate/validate.go

    		if err != nil {
    			log.Infof("file: %s is not closed: %v", path, err)
    		}
    		warningsByFilename[path] = warning
    	}
    	processDirectory := func(directory string, processFile func(string)) error {
    		err := filepath.Walk(directory, func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    
    			if info.IsDir() {
    				return nil
    			}
    
    			if isFileFormatValid(path) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	}
    	// mark resync status as resync started
    	if !heal {
    		s.markStatus(ResyncStarted, opts, objectAPI)
    	}
    
    	// Walk through all object versions - Walk() is always in ascending order needed to ensure
    	// delete marker replicated to target after object version is first created.
    	if err := objectAPI.Walk(ctx, opts.bucket, "", objInfoCh, WalkOptions{}); err != nil {
    		replLogIf(ctx, err)
    		return
    	}
    
    	s.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

        removeFromInverseMap(oldValue);
        return oldValue;
      }
    
      private void removeFromInverseMap(@ParametricNullness V oldValue) {
        inverse.delegate.remove(oldValue);
      }
    
      // Bulk Operations
    
      @Override
      public void putAll(Map<? extends K, ? extends V> map) {
        for (Entry<? extends K, ? extends V> entry : map.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top