Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 1,647 for Invalid (0.06 seconds)

  1. cmd/object-api-utils.go

    }
    
    // IsValidObjectPrefix verifies whether the prefix is a valid object name.
    // Its valid to have a empty prefix.
    func IsValidObjectPrefix(object string) bool {
    	if hasBadPathComponent(object) {
    		return false
    	}
    	if !utf8.ValidString(object) {
    		return false
    	}
    	if strings.Contains(object, `//`) {
    		return false
    	}
    	// This is valid for AWS S3 but it will never
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x0104, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_ENDOFFILE_INFO));
        }
    
        @Test
        void testMapInformationLevelWithInvalidLevel() {
            // Test invalid information level
            IllegalArgumentException exception =
                    assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            String queryId = JsonPath.from(searchResponse).getString("query_id");
    
            // Try to set favorite with invalid docId
            Map<String, String> params = new HashMap<>();
            params.put("queryId", queryId);
    
            given().contentType("application/json")
                    .params(params)
                    .when()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        break;
                    case RESOLVER_WINS:
                        if (hostname.equals(NbtAddress.MASTER_BROWSER_NAME) || hostname.length() > 15) {
                            // invalid netbios name
                            continue;
                        }
                        if (possibleNTDomainOrWorkgroup) {
                            addr = lookupServerOrWorkgroup(hostname, getWINSAddress());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("hasCapability delegates and propagates exceptions")
        void hasCapabilityDelegates() throws Exception {
            // Happy path delegates; invalid case propagates SmbException
            when(treeConnection.hasCapability(123)).thenReturn(true);
            assertTrue(handle.hasCapability(123));
            verify(treeConnection).hasCapability(123);
    
            // Exception path
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. cmd/api-headers.go

    			// funktionieren", tested against a real AWS S3 bucket, S3 may encode incorrectly. For
    			// example, "ö" was encoded as =?UTF-8?B?w4PCtg==?=, producing invalid UTF-8 instead
    			// of =?UTF-8?B?w7Y=?=. This mirrors errors like the ä½ in another string.
    			//
    			// S3 uses B-encoding (Base64) for non-ASCII-heavy metadata and Q-encoding
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

            .writeByte(0b01111111)
    
        val derReader = DerReader(buffer)
    
        assertFailsWith<ProtocolException> {
          derReader.read("test") {}
        }.also { expected ->
          assertThat(expected.message).isEqualTo("invalid encoding for length")
        }
      }
    
      @Test fun `decode length not encoded in shortest form possible`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10000001)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        }
                    }
                }
            } catch (SmbException e) {
                throw e;
            } catch (IOException e1) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
            return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning)));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

         * @return decoded response
         */
        public static SmbDirectNegotiateResponse decode(byte[] data, int offset) {
            if (data.length - offset < 32) {
                throw new IllegalArgumentException("Invalid SMB Direct Negotiate Response length");
            }
    
            SmbDirectNegotiateResponse response = new SmbDirectNegotiateResponse();
    
            int idx = offset;
            response.minVersion = SMBUtil.readInt2(data, idx);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        @Test
        void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception {
            // Test with unsupported information level
            response = new Trans2QueryFSInformationResponse(config, 0x999); // Invalid level
    
            byte[] buffer = new byte[100];
    
            // Set dataCount using reflection
            setDataCount(response, 20);
    
            int bytesRead = response.readDataWireFormat(buffer, 0, 20);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top