Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 72 for existants (0.06 seconds)

  1. cmd/object-handlers_test.go

    		},
    
    		// Test case - 8.
    		// Test case with non-existent source file.
    		// Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`.
    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + "non-existent-object"),
    			accessKey:        credentials.AccessKey,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * We overload this because we want readAndXWireFormat to
         * read the parameter words and bytes. This is so when
         * commands are batched together we can recursivly call
         * readAndXWireFormat without reading the non-existent header.
         */
    
        @Override
        int decode(final byte[] buffer, int bufferIndex) {
            final int start = headerStart = bufferIndex;
    
            bufferIndex += readHeaderWireFormat(buffer, bufferIndex);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        }
    
        @Test
        void testGetOptionNonExistent() {
            assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option.");
        }
    
        @Test
        void testToStringWithoutOptionsAndEndpoint() {
            String expected = PROTO + ":" + SERVER + "[null]";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle_test.go

    	}
    }
    
    func TestValidateTransitionTier(t *testing.T) {
    	globalTierConfigMgr = NewTierConfigMgr()
    	testCases := []struct {
    		xml         []byte
    		expectedErr error
    	}{
    		{
    			// non-existent storage-class
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Remove the child
            entry.removeChild(childName);
            assertFalse(entry.hasChild(childName));
            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
            entry.removeChild("nonexistent.txt");
            assertTrue(entry.hasChanges()); // Still has changes from previous removal
        }
    
        @Test
        public void testGetChildren() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. internal/mountinfo/mountinfo_linux_test.go

    			t.Errorf("got unexpected mountInfo[2]: %#v", mounts[2])
    		}
    	}
    	// Failure case mounts path doesn't exist, if not fail.
    	{
    		if _, err = readProcMounts(filepath.Join(dir, "non-existent")); err != nil && !os.IsNotExist(err) {
    			t.Fatal(err)
    		}
    	}
    }
    
    // Tests read proc mounts reader.
    func TestReadProcMountFrom(t *testing.T) {
    	successCase := `/dev/0 /path/to/0 type0 flags 0 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NtlmUtilTest.java

        void testGetPreNTLMResponse_invalidEncoding() {
            // Arrange
            when(cifsContext.getConfig()).thenReturn(configuration);
            when(configuration.getOemEncoding()).thenReturn("X-INVALID-ENCODING-NOT-EXISTENT");
    
            // Act + Assert
            RuntimeException ex = assertThrows(RuntimeException.class, () -> NtlmUtil.getPreNTLMResponse(cifsContext, "password", new byte[8]));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  8. cmd/bucket-handlers_test.go

    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Non-existent bucket name.
    		{
    			bucketName:         "2333",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            }
    
            dataService.delete(sessionId);
        }
    
        public void test_getAccessResultList_emptyResultTx() {
            final String sessionId = "callback_session2";
    
            // Test with non-existent session
            final List<OpenSearchAccessResult> results = dataService.getAccessResultList(builder -> {
                builder.setQuery(QueryBuilders.termQuery("sessionId", sessionId));
                builder.setSize(10);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top