Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,649 for Contains (0.07 sec)

  1. guava/src/com/google/common/graph/ValueGraph.java

       */
      @Override
      int outDegree(N node);
    
      /**
       * Returns true if there is an edge that directly connects {@code nodeU} to {@code nodeV}. This is
       * equivalent to {@code nodes().contains(nodeU) && successors(nodeU).contains(nodeV)}.
       *
       * <p>In an undirected graph, this is equal to {@code hasEdgeConnecting(nodeV, nodeU)}.
       *
       * @since 23.0
       */
      @Override
      boolean hasEdgeConnecting(N nodeU, N nodeV);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. cmd/leak-detect_test.go

    		// Again split on a new line, the first line of the second half contains the info about the go routine.
    		sl := strings.SplitN(g, "\n", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		stack := strings.TrimSpace(sl[1])
    		// ignore the testing go routine.
    		// since the tests will be invoking the leaktest it would contain the test go routine.
    		if strings.HasPrefix(stack, "testing.RunTests") {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. cmd/signature-v4-parser_test.go

    				"Z7IXGOO6BZ0REAN1Q26I",
    				sampleTimeStr,
    				"us-west-1",
    				"s3",
    				"aws4_request"),
    			expectedErrCode: ErrNone,
    		},
    		// Test Case - 10.
    		// Test case with right inputs -> AccessKey contains `/`. See minio/#6443
    		// "aws4_request" is the valid request version.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"LOCALKEY/DEV/1",
    				sampleTimeStr,
    				"us-west-1",
    				"s3",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testContains() {
        assertThat(Ints.contains(EMPTY, (int) 1)).isFalse();
        assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
        assertThat(Ints.contains(ARRAY234, (int) 1)).isFalse();
        assertThat(Ints.contains(new int[] {(int) -1}, (int) -1)).isTrue();
        assertThat(Ints.contains(ARRAY234, (int) 2)).isTrue();
        assertThat(Ints.contains(ARRAY234, (int) 3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    					UploadID: uploadIDs[0],
    				},
    			},
    		},
    		// listMultipartResults - 6.
    		// `KeyMarker` is set. It contains part of the objectname as `KeyPrefix`.
    		// `MaxUploads` is set equal to the number of meta data entries in the result, the result contains only one entry.
    		// Expecting the result to contain one MultipartInfo entry and IsTruncated to be false.
    		{
    			MaxUploads:  1,
    			KeyMarker:   "min",
    			IsTruncated: false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      @Override
      public int count(@CheckForNull Object element) {
        try {
          @SuppressWarnings("unchecked")
          E e = (E) element;
          AvlNode<E> root = rootReference.get();
          if (!range.contains(e) || root == null) {
            return 0;
          }
          return root.count(comparator(), e);
        } catch (ClassCastException | NullPointerException e) {
          return 0;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertTrue(Iterables.contains(set, null));
      }
    
      public void test_contains_null_set_no() {
        Iterable<String> set = newHashSet("a", "b");
        assertFalse(Iterables.contains(set, null));
      }
    
      public void test_contains_null_iterable_yes() {
        Iterable<@Nullable String> set = iterable("a", null, "b");
        assertTrue(Iterables.contains(set, null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            }
    
            context.addFieldLog(field, text + "*");
            context.addHighlightedQuery(text);
            if (getQueryFieldConfig().notAnalyzedFieldSet.contains(field)) {
                return QueryBuilders.prefixQuery(field, toLowercaseWildcard(text)).boost(boost);
            }
            return QueryBuilders.matchPhrasePrefixQuery(field, toLowercaseWildcard(text)).boost(boost)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            /* Allow for this test running across midnight */
            Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
            assertTrue(expected.contains(datePart), "Expected " + datePart + " to be in " + expected);
        }
    
        @Test
        void buildNumberNotSet() {
            RemoteSnapshotMetadata metadata =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/advanced-dependencies.md

    But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes.
    
    Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content.
    
    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance
    
    In Python there's a way to make an instance of a class a "callable".
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top