Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for getByte (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                Field commandField = ServerMessageBlock.class.getDeclaredField("command");
                commandField.setAccessible(true);
                assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 100, 255, 65535 })
            @DisplayName("Should handle different MID values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/baseline-prof.txt

    HSPLokio/AsyncTimeout;-><clinit>()V
    HSPLokio/AsyncTimeout;-><init>()V
    HSPLokio/AsyncTimeout;->enter()V
    HSPLokio/AsyncTimeout;->exit()Z
    HSPLokio/Buffer;-><init>()V
    HSPLokio/Buffer;->exhausted()Z
    HSPLokio/Buffer;->getByte(J)B
    HSPLokio/Buffer;->indexOfElement(Lokio/ByteString;)J
    HSPLokio/Buffer;->rangeEquals(JLokio/ByteString;)Z
    HSPLokio/Buffer;->read(Lokio/Buffer;J)J
    HSPLokio/Buffer;->read([BII)I
    HSPLokio/Buffer;->readByte()B
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals(ArtifactType.DATA_STORE, ArtifactType.getType("fess-ds-test"));
            assertEquals(ArtifactType.THEME, ArtifactType.getType("fess-theme-test"));
            assertEquals(ArtifactType.INGEST, ArtifactType.getType("fess-ingest-test"));
            assertEquals(ArtifactType.SCRIPT, ArtifactType.getType("fess-script-test"));
            assertEquals(ArtifactType.WEBAPP, ArtifactType.getType("fess-webapp-test"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

         */
        @Test
        void testConstructorWithRawBytes() {
            byte[] rawBytes = "TEST_TARGET_NAME".getBytes(StandardCharsets.UTF_16LE);
            AvTargetName avTargetName = new AvTargetName(rawBytes);
    
            // Verify the AvPair type is MsvAvTargetName
            assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName");
            // Verify the raw bytes are correctly stored
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        @Test
        @DisplayName("Test ServerInfo1 getType for workgroup")
        void testServerInfo1GetTypeWorkgroup() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            server.type = 0x80000000; // SV_TYPE_DOMAIN_ENUM flag
            assertEquals(SmbConstants.TYPE_WORKGROUP, server.getType());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getType for server")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            // Check first pair (AvFlags)
            assertEquals(AvPair.MsvAvFlags, pairs.get(0).getType(), "First pair should be MsvAvFlags");
            assertTrue(pairs.get(0) instanceof AvFlags, "First pair should be AvFlags instance");
    
            // Check second pair (AvTimestamp)
            assertEquals(AvPair.MsvAvTimestamp, pairs.get(1).getType(), "Second pair should be MsvAvTimestamp");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    
            sambaHelper = new SambaHelper();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
            File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            try (FileOutputStream fos = new FileOutputStream(propFile)) {
                fos.write("fess.version=1.0.0".getBytes());
            }
    
            // Initialize SystemHelper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] src = expected.getBytes("UTF-16LE");
            String result = response.readString(src, 0, src.length);
            assertEquals(expected, result);
        }
    
        @Test
        void testReadString_Oem() {
            response.useUnicode = false;
            String expected = "test";
            // Simulate OEM encoding with a null terminator
            byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            }
    
            /**
             * Gets the type of the artifact based on its name.
             *
             * @return the artifact type
             */
            public ArtifactType getType() {
                return ArtifactType.getType(name);
            }
    
            /**
             * Returns a string representation of the artifact.
             *
             * @return a string in the format "name:version"
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top