Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for 4064 (0.17 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                throw new RuntimeException(e);
            }
    
            // Test size calculation
            int size = request.size();
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 64;
            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
    
            // Test wire format writing
            byte[] buffer = new byte[512];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. schema/field.go

    				schema.err = fmt.Errorf("invalid serializer type %v", serializerName)
    			}
    		}
    	}
    
    	if num, ok := field.TagSettings["AUTOINCREMENTINCREMENT"]; ok {
    		field.AutoIncrementIncrement, _ = strconv.ParseInt(num, 10, 64)
    	}
    
    	if v, ok := field.TagSettings["DEFAULT"]; ok {
    		field.HasDefaultValue = true
    		field.DefaultValue = v
    	}
    
    	if num, ok := field.TagSettings["SIZE"]; ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            setHeaderStart(response, 64);
    
            // Write structure header (9 bytes)
            SMBUtil.writeInt2(9, buffer, offset); // Structure size
            SMBUtil.writeInt2(80 - 64, buffer, offset + 2); // Buffer offset (relative to header)
            SMBUtil.writeInt4(50, buffer, offset + 4); // Total length of notification data
    
            // Write notification data at buffer offset 80
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. cmd/httprange.go

    	if len(offsetBeginString) > 0 {
    		if offsetBeginString[0] == '+' {
    			return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString)
    		} else if offsetBegin, err = strconv.ParseInt(offsetBeginString, 10, 64); err != nil {
    			return nil, fmt.Errorf("'%s' does not have a valid first byte position value", rangeString)
    		} else if offsetBegin < 0 {
    			return nil, fmt.Errorf("First byte position is negative ('%d')", offsetBegin)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

    public class WebApiExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withStatusCodeAndMessage() {
            // Test constructor with status code and message
            int statusCode = 404;
            String message = "Resource not found";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertEquals(statusCode, exception.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-responses.md

    **FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI.
    
    For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    Keep in mind that you have to return the `JSONResponse` directly.
    
    ///
    
    /// info
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/archive/tar/strconv.go

    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) == 0 {
    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test status getter and setter")
        void testStatusGetterSetter() {
            assertEquals(0, response.getStatus());
            response.setStatus(404);
            assertEquals(404, response.getStatus());
        }
    
        @Test
        @DisplayName("Test numEntries getter and setter")
        void testNumEntriesGetterSetter() {
            assertEquals(0, response.getNumEntries());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    But if you don't remember what each number code is for, you can use the shortcut constants in `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-status-code.md

    * **`400 - 499`** are for "Client error" responses. These are the second type you would probably use the most.
        * An example is `404`, for a "Not Found" response.
        * For generic errors from the client, you can just use `400`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top