Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 777 for Valid1 (0.03 sec)

  1. src/test/java/jcifs/http/NtlmServletTest.java

         * Verifies that configuration properties are properly validated during initialization.
         */
        @Test
        void testInitWithCIFSException() {
            // Test with valid configuration - should initialize successfully
            Map<String, String> validParams = new HashMap<>();
            validParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            SmbFile parent = newParent();
    
            FileEntry invalid = entry(invalidName, SmbConstants.TYPE_SHARE);
            FileEntry valid = entry("ok", SmbConstants.TYPE_SHARE);
            Iterator<FileEntry> delegate = Arrays.asList(invalid, valid).iterator();
    
            ResourceFilter f = useFilter ? filter : null;
            if (useFilter) {
                when(filter.accept(any())).thenReturn(true);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  4. internal/hash/checksum.go

    		if typ.Is(ChecksumIncludesMultipart) {
    			wantLen := int(parts) * length
    			if len(b) < wantLen {
    				return nil
    			}
    		}
    	}
    
    	if !c.Valid() {
    		return nil
    	}
    
    	return c
    }
    
    // Valid returns whether checksum is valid.
    func (c Checksum) Valid() bool {
    	if c.Type == ChecksumInvalid {
    		return false
    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. internal/config/etcd/etcd_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package etcd
    
    import (
    	"reflect"
    	"testing"
    )
    
    // TestParseEndpoints - tests parseEndpoints function with valid and invalid inputs.
    func TestParseEndpoints(t *testing.T) {
    	testCases := []struct {
    		s         string
    		endpoints []string
    		secure    bool
    		success   bool
    	}{
    		// Invalid inputs
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

            }
        }
    
        @Nested
        @DisplayName("Resource Type Tests")
        class ResourceTypeTests {
    
            @Test
            @DisplayName("getType should return valid SMB resource type")
            void testGetType() throws CIFSException {
                // Given
                int expectedType = 1; // Assuming TYPE_FILESYSTEM
                when(mockResource.getType()).thenReturn(expectedType);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. internal/s3select/sql/analysis.go

    // before a result is returned.
    //
    // Row function - An expression that depends on a value in the
    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    // function combined with a row function is meaningless ("AVG(s.Age) +
    // s.Salary"). Analysis determines if such a scenario exists so an
    // error can be returned.
    
    var (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-model.md

    The same would happen if you had something like a <abbr title='A union between multiple types means "any of these types".'>union</abbr> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	// HTTP request for testing when `objectLayer` is set to `nil`.
    	// There is no need to use an existing bucket and valid input for creating the request
    	// since the `objectLayer==nil`  check is performed before any other checks inside the handlers.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. .ci/java-versions-aarch64.properties

    # This file is used with all of the non-matrix tests in Jenkins.
    
    # This .properties file defines the versions of Java with which to
    # build and test Elasticsearch for this branch. Valid Java versions
    # are 'java' or 'openjdk' followed by the major release number.
    
    ES_BUILD_JAVA=jdk16
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Tue Jun 08 18:35:17 UTC 2021
    - 308 bytes
    - Viewed (0)
Back to top