Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 229 for existence (0.07 seconds)

  1. cmd/object_api_suite_test.go

    func TestNonExistentBucketOperations(t *testing.T) {
    	ExecObjectLayerTest(t, testNonExistentBucketOperations)
    }
    
    // Tests validate that bucket operation on non-existent bucket fails.
    func testNonExistentBucketOperations(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	var opts ObjectOptions
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  2. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. cmd/bucket-lifecycle_test.go

    	}
    }
    
    func TestValidateTransitionTier(t *testing.T) {
    	globalTierConfigMgr = NewTierConfigMgr()
    	testCases := []struct {
    		xml         []byte
    		expectedErr error
    	}{
    		{
    			// non-existent storage-class
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/handling-errors.md

    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Mas se o cliente faz uma requisição para `http://example.com/items/bar` (ou seja, um não existente `item_id "bar"`), esse cliente receberá um HTTP status code 404 (o erro "não encontrado" — *not found error*), e uma resposta JSON:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Dica
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. docs/es/docs/alternatives.md

    ///
    
    ### Frameworks REST para Flask { #flask-rest-frameworks }
    
    Existen varios frameworks REST para Flask, pero después de invertir tiempo y trabajo investigándolos, encontré que muchos son descontinuados o abandonados, con varios problemas existentes que los hacían inadecuados.
    
    ### [Marshmallow](https://marshmallow.readthedocs.io/en/stable/) { #marshmallow }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 24.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        @Test
        public void test_getObject_nonExistentKey() {
            // Test getObject with non-existent key
            Object result = WebApiUtil.getObject("nonExistentKey");
            assertNull(result, "getObject should return null for non-existent key");
        }
    
        @Test
        public void test_setError_withMessage_noRequest() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  9. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  10. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top