Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 4,336 for xtrue (0.03 seconds)

  1. src/test/java/jcifs/CredentialsTest.java

        }
    
        @Test
        @DisplayName("Should check for anonymous credentials")
        void testIsAnonymous() {
            // Given
            when(mockCredentials.isAnonymous()).thenReturn(true);
    
            // When
            boolean isAnonymous = mockCredentials.isAnonymous();
    
            // Then
            assertTrue(isAnonymous);
            verify(mockCredentials).isAnonymous();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. internal/config/compress/compress_test.go

    		{"", []string{}, false},
    		{",", []string{}, false},
    		{"/", []string{}, false},
    		{"text/*,/", []string{}, false},
    
    		// valid input
    		{".txt,.log", []string{".txt", ".log"}, true},
    		{"text/*,application/json", []string{"text/*", "application/json"}, true},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.str, func(t *testing.T) {
    			gotPatterns, err := parseCompressIncludes(testCase.str)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. internal/bucket/replication/and.go

    			return err
    		}
    	}
    	return nil
    }
    
    // ContainsDuplicateTag - returns true if duplicate keys are present in And
    func (a And) ContainsDuplicateTag() bool {
    	x := make(map[string]struct{}, len(a.Tags))
    
    	for _, t := range a.Tags {
    		if _, has := x[t.Key]; has {
    			return true
    		}
    		x[t.Key] = struct{}{}
    	}
    
    	return false
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

        }
        return Ints.saturatedCast(count);
      }
    
      /** Returns {@code true} if {@code iterator} contains {@code element}. */
      public static boolean contains(Iterator<?> iterator, @Nullable Object element) {
        if (element == null) {
          while (iterator.hasNext()) {
            if (iterator.next() == null) {
              return true;
            }
          }
        } else {
          while (iterator.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterators.java

        }
        return Ints.saturatedCast(count);
      }
    
      /** Returns {@code true} if {@code iterator} contains {@code element}. */
      public static boolean contains(Iterator<?> iterator, @Nullable Object element) {
        if (element == null) {
          while (iterator.hasNext()) {
            if (iterator.next() == null) {
              return true;
            }
          }
        } else {
          while (iterator.hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  6. cmd/iam.go

    		return newUserIdentity(globalActiveCred), true, nil
    	}
    
    	loadUserCalled := false
    	select {
    	case <-sys.configLoaded:
    	default:
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    	}
    
    	u, ok = sys.store.GetUser(accessKey)
    	if !ok && !loadUserCalled {
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    
    		u, ok = sys.store.GetUser(accessKey)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         *
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            "multiset.entrySet() iterator.next() returned incorrect entry",
            Multisets.immutableEntry(e0(), 1),
            iterator.next());
        assertFalse(
            "size 1 multiset.entrySet() iterator.hasNext() returned true after next()",
            iterator.hasNext());
        iterator.remove();
        assertTrue(
            "multiset isn't empty after multiset.entrySet() iterator.remove()",
            getMultiset().isEmpty());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

        /**
         * Returns the path matcher that unconditionally returns {@code true} for all files.
         * It should be the matcher returned by the other methods of this interface when the
         * given patterns match all files.
         *
         * @return path matcher that unconditionally returns {@code true} for all files
         */
        @Nonnull
        PathMatcher includesAll();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. tests/test_request_params/test_header/test_list.py

    )
    def test_required_list_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": True,
                    "schema": {
                        "title": "P",
                        "type": "array",
                        "items": {"type": "string"},
                    },
                    "name": "p",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.3K bytes
    - Click Count (0)
Back to Top