Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,425 for equalTo (0.05 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            if (element == target) {
              it.remove();
              return true;
            }
          }
          return false;
        }
    
        /** Removes only this exact instance, not others that are equals() */
        private boolean removeExact(Object target) {
          for (int i = 0; i < size; i++) {
            if (queue[i] == target) {
              removeAt(i);
              return true;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          StackTraceElement[] origStackTrace = getStackTrace();
          for (int i = 0, n = origStackTrace.length; i < n; i++) {
            if (WithExplicitOrdering.class.getName().equals(origStackTrace[i].getClassName())) {
              // For pre-populated disallowedPriorLocks edges, omit the stack trace.
              setStackTrace(EMPTY_STACK_TRACE);
              break;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  3. cmd/config-current.go

    // access is disabled.
    func autoGenerateRootCredentials() {
    	if GlobalKMS == nil {
    		return
    	}
    	if globalAPIConfig.permitRootAccess() || !globalActiveCred.Equal(auth.DefaultCredentials) {
    		return
    	}
    
    	aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
    	if errors.Is(err, kes.ErrNotAllowed) || errors.Is(err, errors.ErrUnsupported) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    }
    
    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    // Check if unformatted disks are equal to 50%+1 of all the drives.
    func quorumUnformattedDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) >= (len(errs)/2)+1
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertFailsWith<ProtocolException> {
          derReader.read("test") {}
        }.also { expected ->
          assertThat(expected.message).isEqualTo("invalid encoding for length")
        }
      }
    
      @Test fun `decode length equal to Long MAX_VALUE`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10001000)
            .writeByte(0b01111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                        break;
                    }
                    response = suggester.popularWords().setSize(2).addExcludeWord(excludeWord).execute().getResponse();
                }
                if (checkStr.equals(excludeWord)) {
                    assertFalse(find);
                } else {
                    assertTrue(find);
                }
            }
        }
    
        @Test
        public void test_escapeQuery() throws Exception {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
    
                final String encodedName = URLEncoder.encode(name, Constants.UTF_8).replace("+", "%20");
                final String contentDispositionValue;
                if (name.equals(encodedName)) {
                    contentDispositionValue = contentDispositionType + "; filename=\"" + name + "\"";
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                boolQuery.should(query);
            }
            return boolQuery;
        }
    
        private QueryBuilder simpleQuery(String query, float titleBoost, float contentBoost) {
            if ("dismax".equals(ComponentUtil.getFessConfig().getQueryDefaultQueryType())) {
                return QueryBuilders.disMaxQuery().tieBreaker(0.1f)//
                        .add(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))//
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    				return errInvalidSSEParameters // AWS returns special error for equal but invalid keys.
    			}
    			return crypto.ErrInvalidCustomerKey // To provide strict AWS S3 compatibility we return: access denied.
    
    		}
    		if subtle.ConstantTimeCompare(oldKey, newKey) == 1 && sealedKey.Algorithm == crypto.SealAlgorithm {
    			return nil // don't rotate on equal keys if seal algorithm is latest
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  10. docs/en/docs/index.md

    * Security and authentication, including support for **OAuth2** with **JWT tokens** and **HTTP Basic** auth.
    * More advanced (but equally easy) techniques for declaring **deeply nested JSON models** (thanks to Pydantic).
    * **GraphQL** integration with <a href="https://strawberry.rocks" class="external-link" target="_blank">Strawberry</a> and other libraries.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top