Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,601 for checks (0.27 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        do {
          delegate.add(checkNotNull(elements.next()));
        } while (elements.hasNext());
    
        return unsafeDelegate(delegate);
      }
    
      // Factory methods that skips the null checks on elements, only used when
      // the elements are known to be non-null.
      static <E> ImmutableSet<E> unsafeDelegate(Set<E> delegate) {
        switch (delegate.size()) {
          case 0:
            return of();
          case 1:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. cmd/iam.go

    		return true
    	}
    
    	// If the credential is temporary, perform STS related checks.
    	ok, parentUser, err := sys.IsTempUser(args.AccountName)
    	if err != nil {
    		return false
    	}
    	if ok {
    		return sys.IsAllowedSTS(args, parentUser)
    	}
    
    	// If the credential is for a service account, perform related check
    	ok, parentUser, err = sys.IsServiceAccount(args.AccountName)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

             * @return the directory file
             */
            public SmbFile getDirectoryFile() {
                return directoryFile;
            }
    
            /**
             * Checks if directory change monitoring is currently active
             * @return true if watching is active
             */
            public boolean isActive() {
                return active;
            }
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    		if pe != checkPartSuccess {
    			c++
    		}
    	}
    	return
    }
    
    // checkObjectWithAllParts sets partsMetadata and onlineDisks when xl.meta is inexistant/corrupted or outdated
    // it also checks if the status of each part (corrupted, missing, ok) in each drive
    func checkObjectWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetadata []FileInfo,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. cmd/os-readdir_test.go

    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    // Test to check for different input arguments.
    func TestReadDirFail(t *testing.T) {
    	// Check non existent directory.
    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    func TestStartProfiler(t *testing.T) {
    	_, err := startProfiler("")
    	if err == nil {
    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    // checkURL - checks if passed address correspond
    func checkURL(urlStr string) (*url.URL, error) {
    	if urlStr == "" {
    		return nil, errors.New("Address cannot be empty")
    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                } catch (IOException e) {
                    log.warn("Failed to establish RDMA connection: {}", e.getMessage());
                    throw e;
                }
            }
        }
    
        /**
         * Checks if RDMA connection is available.
         *
         * @return true if RDMA connection is active
         */
        public boolean isRdmaConnected() {
            synchronized (connectionLock) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import org.junit.jupiter.api.extension.AfterEachCallback
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    
    /**
     * Apply this rule to all tests. It adds additional checks for leaked resources and uncaught
     * exceptions.
     *
     * Use [newClient] as a factory for a OkHttpClient instances. These instances are specifically
     * configured for testing.
     */
    class OkHttpClientTestRule :
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

         * @param maxCacheAge the maximum cache age in milliseconds
         */
        public void setMaxCacheAge(long maxCacheAge) {
            this.maxCacheAge = maxCacheAge;
        }
    
        /**
         * Checks if directory change notifications are enabled for cache invalidation
         * @return true if change notifications are enabled
         */
        public boolean isNotificationEnabled() {
            return notificationEnabled;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
        for (int i = 0; i < 1000; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top