Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,968 for checkEq (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
      protected final void assertInvariants(Map<K, V> map) {
        Set<K> keySet = map.keySet();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. src/cmd/api/api_test.go

    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    	build.Default.GOROOT = testenv.GOROOT(nil)
    
    	os.Exit(m.Run())
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 02 17:06:27 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/WinErrorTest.java

            // Validate arrays existence and alignment (edge and structure checks)
            assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null");
            assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");
            assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "Codes/messages length mismatch");
    
            // Exact content check to guard against accidental reordering or drift
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.rule.RuleManager#hasRule(org.codelibs.fess.crawler.rule.Rule)
         */
        /**
         * Checks if the rule manager contains the specified rule.
         * @param rule the rule to check for
         * @return true if the rule is present, false otherwise
         */
        @Override
        public boolean hasRule(final Rule rule) {
            return ruleList.contains(rule);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. cmd/kms-handlers.go

    	ctx := newContext(r, w, "KMSListKeys")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// This only checks if the action (kms:ListKeys) is allowed, it does not check
    	// each key name against the policy's Resources. We check that below, once
    	// we have the list of key names from the KMS.
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSListKeysAction)
    	if objectAPI == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      duration: Long,
      unit: TimeUnit,
    ): Int {
      check(duration >= 0L) { "$name < 0" }
      val millis = unit.toMillis(duration)
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
      check(!duration.isNegative()) { "$name < 0" }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 10.2K bytes
    - Click Count (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * as a ByteArrayInputStream.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object, checks if it has a response body,
     * and then reads the body into a byte array. This byte array is then set as the data
     * in the ResultData object.
     * </p>
     *
     * <p>
     * The getData method takes an AccessResultData object, checks if the transformer name matches,
     * and then returns the data as a ByteArrayInputStream.
     * </p>
     */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

          for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) {
            // check related items in same group
            for (int relatedItemNumber = 0; relatedItemNumber < group.size(); relatedItemNumber++) {
              if (itemNumber != relatedItemNumber) {
                assertRelated(groupNumber, itemNumber, relatedItemNumber);
              }
            }
            // check unrelated items in all other groups
            for (int unrelatedGroupNumber = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

            }
    
            // check it in queue
            for (final UrlQueue<Long> urlInQueue : urlQueueList) {
                if (url.equals(urlInQueue.getUrl())) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("URL exists in a queue: {}", url);
                    }
                    return false;
                }
            }
    
            // check it in result
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. cmd/metacache-walk.go

    							return err
    						}
    						internalLogIf(ctx, err)
    					}
    				}
    				dirStack = dirStack[:len(dirStack)-1]
    			}
    
    			// All objects will be returned as directories, there has been no object check yet.
    			// Check it by attempting to read metadata.
    			_, isDirObj := dirObjects[entry]
    			if isDirObj {
    				meta.name = meta.name[:len(meta.name)-1] + globalDirSuffixWithSlash
    			}
    
    			if s.walkReadMu != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top