Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 583 for incorrectly (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            int value = b & 0xFF;
            assertEquals(255, value, "Byte to unsigned conversion should work");
    
            // Test comparison operation
            assertTrue(value == 255, "Comparison should work correctly");
        }
    
        /**
         * Encode a string as 16-bit little-endian Unicode
         */
        private byte[] encodeUnicode(String s) {
            char[] chars = s.toCharArray();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            assertTrue((DcerpcError.DCERPC_FAULT_PROTO_ERROR & 0xFF000000) == 0x1C000000, "DCERPC_FAULT_PROTO_ERROR should be in 0x1C range");
        }
    
        @Test
        @DisplayName("Should verify DcerpcException uses fault codes correctly")
        void testDcerpcExceptionIntegration() {
            // Test that DcerpcException can be created and implements DcerpcError
            DcerpcException ex1 = new DcerpcException("Test error", null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

        private Map<Object, MergeableMetadata> relatedMetadata = new ConcurrentHashMap<>();
    
        /**
         * @deprecated we want to use the artifact method only, and ensure artifact.file is set
         *             correctly.
         */
        @Deprecated
        @Override
        public void deploy(
                String basedir,
                String finalName,
                Artifact artifact,
                ArtifactRepository deploymentRepository,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-operation-configuration.md

    You can write <a href="https://en.wikipedia.org/wiki/Markdown" class="external-link" target="_blank">Markdown</a> in the docstring, it will be interpreted and displayed correctly (taking into account docstring indentation).
    
    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    It will be used in the interactive docs:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. docs_src/security/tutorial004_an_py310.py

    ) -> Token:
        user = authenticate_user(fake_users_db, form_data.username, form_data.password)
        if not user:
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Bearer"},
            )
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. cmd/api-utils.go

    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
        void testConstructorWithBuffer() throws IOException {
            // Create test buffer with notification data
            byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Then
                assertNotNull(cancel);
                assertEquals(testMid, cancel.getMid());
    
                // Verify command is set correctly
                Field commandField = ServerMessageBlock.class.getDeclaredField("command");
                commandField.setAccessible(true);
                assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertEquals(0, msg.readBytesWireFormat(new byte[15], index));
            assertEquals(0, msg.readBytesWireFormat(null, index));
        }
    
        @Test
        @DisplayName("toString formats correctly")
        void toStringFormatsCorrectly() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            String s = msg.toString();
            assertNotNull(s, "toString should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top