Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,216 for todos (0.09 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       *     such index exists.
       */
      public static int indexOf(short[] array, short target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(short[] array, short target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

       *     such index exists.
       */
      public static int indexOf(short[] array, short target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(short[] array, short target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              BinaryOperator<V> mergeFunction) {
        return CollectCollectors.toImmutableSortedMap(
            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      /*
       * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and
       * uses less memory than TreeMap; then say so in the class Javadoc.
       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

     * support {@code remove()}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> {
      // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest
      // to a superclass.
    
      public MapsTransformValuesUnmodifiableIteratorTest() {
        super(true, true, false /*supportsPut*/, true, true, false);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	}
    
    	// populate full pod snapshot from cgroups
    	return s.scanProcForPodsAndCache(ambientPodUIDs)
    }
    
    func (s *NetServer) scanProcForPodsAndCache(pods map[types.UID]*corev1.Pod) error {
    	// TODO: maybe remove existing uids in s.currentPodSnapshot from the filter set.
    	res, err := s.podNs.FindNetnsForPods(pods)
    	if err != nil {
    		return err
    	}
    
    	for uid, wl := range res {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       */
      protected abstract void run() throws Exception;
    
      /**
       * Stop the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      // TODO: consider supporting a TearDownTestCase-like API
      protected void shutDown() throws Exception {}
    
      /**
       * Invoked to request the service to stop.
       *
       * <p>By default this method does nothing.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/query-params.md

    * `limit`: con un valor de `10`
    
    Dado que son parte de la URL son strings "naturalmente".
    
    Pero cuando los declaras con tipos de Python (en el ejemplo arriba, como `int`) son convertidos a ese tipo y son validados con él.
    
    Todo el proceso que aplicaba a los parámetros de path también aplica a los parámetros de query:
    
    * Soporte del editor (obviamente)
    * <abbr title="convertir el string que viene de un HTTP request a datos de Python">"Parsing"</abbr> de datos
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params.md

    Como eles são parte da URL, eles são "naturalmente" strings.
    
    Mas quando você declara eles com os tipos do Python (no exemplo acima, como `int`), eles são convertidos para aquele tipo e validados em relação a ele.
    
    Todo o processo que era aplicado para parâmetros de rota também é aplicado para parâmetros de consulta:
    
    * Suporte do editor (obviamente)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_operation.h

      virtual absl::Status SetAttrFunctionList(
          const char* attr_name, absl::Span<const AbstractOperation*> values) = 0;
    
     private:
      const AbstractOperationKind kind_;
    };
    
    // TODO(b/193656009): Defining these in a cc file causes linker errors with
    // fastbuild.
    inline absl::Status AbstractOperation::SetAttrShape(
        const char* attr_name, const PartialTensorShape shape) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/http-basic-auth.md

    E a sua aplicação faz algo como:
    
    ```Python
    if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    O Python terá que comparar todo o `stanleyjobso` tanto em `stanleyjobsox` como em `stanleyjobson` antes de perceber que as strings não são a mesma. Então isso levará alguns microssegundos a mais para retornar "Usuário ou senha incorretos".
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top