Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 2,079 for checkOn (0.07 sec)

  1. internal/mountinfo/mountinfo_linux_test.go

    			}
    		}
    	}
    }
    
    // Helpers for tests.
    
    // Check if two `mountInfo` are equal.
    func mountPointsEqual(a, b mountInfo) bool {
    	if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq {
    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
        // them to ensure that the validation check happens and has the expected behavior.
        assertNodeRemovedFromGraphErrorMessage(
            assertThrows(IllegalStateException.class, n1AdjacentNodes::size));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/\nhttp://www.bar.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/ \r\nhttp://www.bar.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/object-api-deleteobject_test.go

    		pathToDelete       string
    		objectsAfterDelete []string
    	}{
    		// Test 1: removes an object and checks it is the only object
    		// that has been deleted.
    		{
    			"bucket1",
    			[]objectUpload{{"object0", "content"}, {"object1", "content"}},
    			"object0",
    			[]string{"object1"},
    		},
    		// Test 2: remove an object inside a directory and checks it is deleted
    		// with its parent since this former becomes empty
    		{
    			"bucket2",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jan 21 14:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    <img src="/img/python-types/image03.png">
    
    ## More motivation
    
    Check this function, it already has type hints:
    
    {* ../../docs_src/python_types/tutorial003.py hl[1] *}
    
    Because the editor knows the types of the variables, you don't only get completion, you also get error checks:
    
    <img src="/img/python-types/image04.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. helm-releases/minio-4.0.15.tgz

    ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkPolicyExists ($policy) # Check if the policy exists, by using the exit code of `mc admin policy info` checkPolicyExists() { POLICY=$1 CMD=$(${MC} admin policy info myminio $POLICY > /dev/null 2>&1) return $? } # createPolicy($name, $filename) createPolicy () { NAME=$1 FILENAME=$2 # Create the name if it does not exist echo "Checking policy: $NAME (in /config/$FILENAME.json)" if ! checkPolicyExists $NAME ; then echo "Creating policy...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 21 11:07:01 UTC 2022
    - 20K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    			},
    		},
    		// listMultipartResults - 35.
    		// Checking listing with `Prefix` and `KeyMarker`.
    		// No upload MultipartInfo in the result expected since KeyMarker is set to last Key in the result.
    		{
    			MaxUploads:  10,
    			IsTruncated: false,
    			Prefix:      "minio-object",
    			KeyMarker:   objectNames[1],
    		},
    		// listMultipartResults - 36.
    		// checking listing with `Prefix` and `UploadIDMarker` set.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeRangeMap.java

        Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry();
        // Either both are null or neither is, but we check both to satisfy the nullness checker.
        if (firstEntry == null || lastEntry == null) {
          throw new NoSuchElementException();
        }
        return Range.create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    		sizes = types.SizesFor(w.context.Compiler, w.context.GOARCH)
    	}
    	conf := types.Config{
    		IgnoreFuncBodies: true,
    		FakeImportC:      true,
    		Importer:         w,
    		Sizes:            sizes,
    	}
    	tpkg, err := conf.Check(name, fset, files, nil)
    	if err != nil {
    		ctxt := "<no context>"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top