Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 924 for Elements (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      public void testRemove_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0()));
        expectUnchanged();
        assertTrue("remove(present) should not remove the element", collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_unsupportedNotPresent() {
        try {
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/StandardValueGraph.java

        GraphConnections<N, V> connections = nodeConnections.get(node);
        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException("Node " + node + " is not an element of this graph.");
        }
        return connections;
      }
    
      final boolean containsNode(@CheckForNull N node) {
        return nodeConnections.containsKey(node);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/transition.go

    	err := d.DecodeElement(&trw, &startElement)
    	if err != nil {
    		return err
    	}
    	*t = Transition(trw)
    	t.set = true
    	return nil
    }
    
    // Validate - validates the "Transition" element
    func (t Transition) Validate() error {
    	if !t.set {
    		return nil
    	}
    
    	if !t.IsDateNull() && t.Days > 0 {
    		return errTransitionInvalid
    	}
    
    	if t.StorageClass == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 10 17:07:49 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashing.java

      /**
       * Sets {@code table[index]} to {@code entry}, where {@code table} is actually a {@code byte[]},
       * {@code short[]}, or {@code int[]}. The value of {@code entry} should fit in the size of the
       * assigned array element, when seen as an unsigned value. So if {@code table} is a {@code byte[]}
       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. ci/official/utilities/extract_resultstore_links.py

      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
                'timestamp': date_time.isoformat(date_time.utcnow())}
      testsuites = ElemTree.Element('testsuites')
      testsuite = ElemTree.SubElement(testsuites, 'testsuite')
      for url, invocation_results in result_store_dict.items():
        invocation_id = url.rsplit('/')[-1]
        if verbose:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. tests/update_test.go

    	var result ElementWithIgnoredField
    	if err := DB.First(&result, elem.Id).Error; err != nil {
    		t.Errorf("error getting an element from database: %s", err.Error())
    	}
    
    	if result.IgnoredField != 0 {
    		t.Errorf("element's ignored field should not be updated")
    	}
    }
    
    func TestUpdateFromSubQuery(t *testing.T) {
    	user := *GetUser("update_from_sub_query", Config{Company: true})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      //   done on a path element by element basis. A path element refers is the
      //   list of labels in the path split by the '/' separator. A request is a
      //   match for path p if every p is an element-wise prefix of p of the
      //   request path. Note that if the last element of the path is a substring
      //   of the last element in request path, it is not a match (e.g. /foo/bar
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-nested-models.md

    ```Python hl_lines="14"
    {!../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    Isso fará com que tags seja uma lista de itens mesmo sem declarar o tipo dos elementos desta lista.
    
    ## Campos do tipo Lista com um parâmetro de tipo
    
    Mas o Python tem uma maneira específica de declarar listas com tipos internos ou "parâmetros de tipo":
    
    ### Importe `List` do typing
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        List<E> containsNull = singletonList(null);
        assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SortedSetMultimap.java

      /**
       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top