Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 406 for getByte (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

        String getId();
    
        /**
         * Gets the type of the repository, for example "default".
         *
         * @return the (case-sensitive) type of the repository, never {@code null}
         */
        @Nonnull
        String getType();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

        private String type = "jar";
    
        public TypeArtifactFilter(String type) {
            this.type = type;
        }
    
        @Override
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java

     */
    public interface WorkspaceRepository extends Repository {
    
        /**
         * {@return the type of the repository, i.e. "workspace"}
         */
        @Nonnull
        @Override
        default String getType() {
            return "workspace";
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

                    if (!metadata.getVersion().isEmpty()) {
                        path.append(metadata.getVersion()).append('/');
                    }
                }
            }
    
            path.append(insertRepositoryKey(metadata.getType(), repositoryKey));
    
            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

        /**
         * Context name for durable handle request
         */
        public static final String CONTEXT_NAME = "DHnQ";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 16;
    
        private long reserved; // Must be zero
    
        /**
         * Create a new durable handle request
         */
        public DurableHandleRequest() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

        /**
         * Context name for durable handle reconnect response
         */
        public static final String CONTEXT_NAME = "DHnC";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        // The response structure is empty (0 bytes) for reconnect
        // No data is returned in a successful reconnect response
    
        /**
         * Create a new durable handle reconnect response
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @Test
        @DisplayName("Test default constructor creates empty SecurityDescriptor")
        void testDefaultConstructor() {
            SecurityDescriptor sd = new SecurityDescriptor();
            assertEquals(0, sd.getType());
            assertNull(sd.getAces());
            assertNull(sd.getOwnerUserSid());
            assertNull(sd.getOwnerGroupSid());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes SecurityDescriptor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/DomUtil.java

            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        final Map<String, Object> map = new HashMap<>();
                        final String name = filePath.getFileName().toString();
                        map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
                        map.put("name", name);
                        try {
                            map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/https/HandlerTest.java

                assertTrue(Modifier.isStatic(field.getModifiers()));
                assertTrue(Modifier.isFinal(field.getModifiers()));
                assertEquals(int.class, field.getType());
            }
        }
    
        @Nested
        @DisplayName("Deprecation Tests")
        class DeprecationTests {
    
            @Test
            @DisplayName("Handler class should be deprecated")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top