Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 2,250 for contains (0.1 sec)

  1. internal/cachevalue/cache.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cachevalue
    
    import (
    	"context"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    // Opts contains options for the cache.
    type Opts struct {
    	// When set to true, return the last cached value
    	// even if updating the value errors out.
    	// Returns the last good value AND the error.
    	ReturnLastGood bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/crypto/sse-c.go

    	SSEC = ssec{}
    
    	_ Type = SSEC
    )
    
    // String returns the SSE domain as string. For SSE-C the
    // domain is "SSE-C".
    func (ssec) String() string { return "SSE-C" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C header. SSE-C copy headers are ignored.
    func (ssec) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerAlgorithm]; ok {
    		return true
    	}
    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. 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)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      optional string resource = 2;
    }
    
    // GroupVersion contains the "group" and the "version", which uniquely identifies the API.
    //
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message GroupVersion {
      optional string group = 1;
    
      optional string version = 2;
    }
    
    // GroupVersion contains the "group/version" and "version" string of a version.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top