Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,147 for correctly (0.29 sec)

  1. cmd/erasure-healing_test.go

    		t.Fatalf("part.1 not healed correctly")
    	}
    
    	partReconstructed, err = secondDisk.ReadAll(t.Context(), bucket, pathJoin(object, fi.DataDir, "part.1"))
    	if err != nil {
    		t.Fatalf("Failed to read a file - %v", err)
    	}
    
    	if !reflect.DeepEqual(part1Disk2Origin, partReconstructed) {
    		t.Fatalf("part.1 not healed correctly")
    	}
    }
    
    // Tests healing of object.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should handle signed byte value correctly")
            void testReadBytesWireFormatSignedByteValue() {
                // Given
                byte[] buffer = new byte[10];
                // Write 4 in little-endian format
                buffer[0] = 0x04;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    Import `Enum` and create a sub-class that inherits from `str` and from `Enum`.
    
    By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
    
    Then create class attributes with fixed values, which will be the available valid values:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[1,6:9] *}
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
            assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct");
        }
    
        @Test
        void testUNCPath() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/unc.txt", context);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

                msrpcShareGetInfo.getSecurity();
            });
        }
    
        @Test
        void testPtypeAndFlagsValues() {
            // Verify specific flag values are correctly set
            assertEquals(0, msrpcShareGetInfo.getPtype());
    
            // Check individual flag bits
            int flags = msrpcShareGetInfo.getFlags();
            assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpFilterTest.java

        @Test
        void testDoFilter_ntlmType1Message() throws Exception {
            // Test NTLM Type 1 message handling
            // This test verifies that when a Type 1 NTLM message is received,
            // the filter processes it correctly through NtlmSsp.authenticate
    
            // Create a minimal filter config that won't try to connect to a real server
            Map<String, String> initParams = new HashMap<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            assertNotNull(request);
            // SMB2_SET_INFO command value is 0x0011
            assertEquals((short) 0x0011, request.getCommand());
    
            // Verify file ID is set correctly
            Field fileIdField;
            try {
                fileIdField = Smb2SetInfoRequest.class.getDeclaredField("fileId");
                fileIdField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Cache.java

       * have been newly added to {@link ConcurrentMap}! These are marked with "Since: 1.8" in the
       * {@code ConcurrentMap} documentation. They will not function correctly and it is impossible for
       * Guava to fix them until Guava is ready to <i>require</i> Java 8 for all users.
       */
      ConcurrentMap<K, V> asMap();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          sourceResult = getDone(localInputFuture);
        } catch (CancellationException e) {
          // TODO(user): verify future behavior - unify logic with getFutureValue in AbstractFuture. This
          // code should be unreachable with correctly implemented Futures.
          // Cancel this future and return.
          // At this point, inputFuture is cancelled and outputFuture doesn't exist, so the value of
          // mayInterruptIfRunning is irrelevant.
          cancel(false);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top