Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 924 for Element (0.09 sec)

  1. cmd/utils.go

    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    		return ""
    	}
    	xfix := strs[0]
    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    		// short-circuit empty strings
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      //
      // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1].
      // Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
      //   - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
      //     non-intersecting elements in `Y` are appended, retaining their partial order.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. tests/update_test.go

    		Where("id = ?", elem.Id).
    		Updates(&ElementWithIgnoredField{Value: "bar", IgnoredField: 100})
    
    	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) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/TraverserTest.java

          @Override
          public Iterable<? extends Character> successors(Character node) {
            checkArgument(
                graphMap.containsKey(node) || graphMap.containsValue(node),
                "Node %s is not an element of this graph",
                node);
            return Ordering.natural().immutableSortedCopy(graphMap.get(node));
          }
        };
      }
    
      private static ImmutableGraph<Character> createSingleRootGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/TraverserTest.java

          @Override
          public Iterable<? extends Character> successors(Character node) {
            checkArgument(
                graphMap.containsKey(node) || graphMap.containsValue(node),
                "Node %s is not an element of this graph",
                node);
            return Ordering.natural().immutableSortedCopy(graphMap.get(node));
          }
        };
      }
    
      private static ImmutableGraph<Character> createSingleRootGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       *
       * <p>If the {@link File} passed to one of the {@link Traverser} methods does not exist or is not
       * a directory, no exception will be thrown and the returned {@link Iterable} will contain a
       * single element: that file.
       *
       * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
       * with the following paths: {@code ["/", "/etc", "/etc/config.txt", "/etc/fonts", "/home",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

      /**
       * As described in <a href="https://w3c.github.io/webvtt/#iana-text-vtt">the VTT spec</a>, this is
       * used for Web Video Text Tracks (WebVTT) files, used with the HTML5 track element.
       *
       * @since 20.0
       */
      public static final MediaType VTT_UTF_8 = createConstantUtf8(TEXT_TYPE, "vtt");
    
      /* image types */
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

       * b}, then an {@code IndexOutOfBoundsException} is thrown. If {@code len} is zero, then no bytes
       * are read. Otherwise, the first byte read is stored into element {@code b[off]}, the next one
       * into {@code b[off+1]}, and so on. The number of bytes read is, at most, equal to {@code len}.
       *
       * @param in the input stream to read from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          assertNull(q.poll(0, MILLISECONDS));
          assertEquals("[]", q.toString());
          assertTrue(Arrays.equals(q.toArray(), new Object[0]));
          assertFalse(q.iterator().hasNext());
          try {
            q.element();
            shouldThrow();
          } catch (NoSuchElementException success) {
          }
          try {
            q.iterator().next();
            shouldThrow();
          } catch (NoSuchElementException success) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. doc/go_mem.html

    (accessed with “<code>go</code> <code>build</code> <code>-race</code>”)
    do exactly this.
    </p>
    
    <p>
    A read of an array, struct, or complex number
    may by implemented as a read of each individual sub-value
    (array element, struct field, or real/imaginary component),
    in any order.
    Similarly, a write of an array, struct, or complex number
    may be implemented as a write of each individual sub-value,
    in any order.
    </p>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top