Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 857 for isInvalid (0.05 sec)

  1. src/bytes/buffer.go

    	// See #26462, #25907, #47276, #48398 for history.
    }
    
    // The readOp constants describe the last action performed on
    // the buffer, so that UnreadRune and UnreadByte can check for
    // invalid usage. opReadRuneX constants are chosen such that
    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            if (!isValidFileConfigId(body.fileConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("share", smbFile.getShare());
            }
    
            @Test
            public void testConstructorWithMalformedUrl() {
                // Test that constructor throws MalformedURLException for completely invalid URL
                // Note: http:// URLs are actually accepted by the URL constructor but the protocol is changed to smb
                String invalidUrl = "not-a-valid-url";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/MIENameTest.java

                        return buf;
                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-openid.go

    	case madmin.AccessKeyListSvcaccOnly:
    		listSTSKeys = false
    		listServiceAccounts = true
    	case madmin.AccessKeyListAll:
    		listSTSKeys = true
    		listServiceAccounts = true
    	default:
    		err := errors.New("invalid list type")
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrInvalidRequest, err), r.URL)
    		return
    	}
    
    	s := globalServerConfig.Clone()
    	roleArnMap := make(map[string]string)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/sio"
    )
    
    var (
    	// AWS errors for invalid SSE-C requests.
    	errEncryptedObject                = errors.New("The object was stored using a form of SSE")
    	errInvalidSSEParameters           = errors.New("The SSE-C key for key-rotation is not correct") // special access denied
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    				piece[i] == '-'):
    				// Found a non-digit character, so
    				// this piece is not a number.
    				isNotNumber = true
    			case piece[i] >= '0' && piece[i] <= '9':
    				// Nothing to do.
    			default:
    				// Found invalid character.
    				return false
    			}
    		}
    		allNumbers = allNumbers && !isNotNumber
    	}
    	// Does the bucket name look like an IP address?
    	return len(pieces) != 4 || !allNumbers
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

        }
    
        public void test_getXContentBuilderOutputStream_ioException() {
            XContentBuilderCallback callback = (builder, params) -> {
                // Simulate IOException by creating invalid state
                throw new IOException("Test exception");
            };
    
            OutputStream outputStream = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON);
            assertNotNull(outputStream);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] readBuffer = new byte[100];
            IOException exception = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
    
            assertEquals("invalid session request wire format", exception.getMessage());
        }
    
        @ParameterizedTest
        @MethodSource("provideNamesForWriteTest")
        @DisplayName("writeTrailerWireFormat should handle various name combinations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/UniAddressTest.java

            void shouldReturnTrueForValidIpAddresses(String ip) {
                assertTrue(UniAddress.isDotQuadIP(ip));
            }
    
            @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")
            @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" })
            void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top