Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 297 for getType (0.31 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            DefaultArtifact clone = new DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    range,
                    artifact.getScope(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    artifact.getArtifactHandler(),
                    artifact.isOptional());
            clone.setRelease(artifact.isRelease());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

                throw new InvalidArtifactRTException(
                        parent.getGroupId(),
                        parent.getArtifactId(),
                        parent.getVersion(),
                        parent.getType(),
                        "An attached artifact must have a different ID" + " than its corresponding main artifact.");
            }
        }
    
        public AttachedArtifact(Artifact parent, String type, ArtifactHandler artifactHandler) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Verify
            assertEquals("testfile.txt", fileBothDirectoryInfo.getName());
        }
    
        @Test
        @DisplayName("Test getType returns TYPE_FILESYSTEM")
        void testGetType() {
            assertEquals(SmbConstants.TYPE_FILESYSTEM, fileBothDirectoryInfo.getType());
        }
    
        @Test
        @DisplayName("Test getFileIndex returns correct value")
        void testGetFileIndex() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            property.setType(type);
            property.setRawCommentText(rawCommentText);
            property.setGetter(getterMethod);
            return property;
        }
    
        public PropertyMetaData addWriteableProperty(String name, TypeMetaData type, String rawCommentText, MethodMetaData setterMethod) {
            PropertyMetaData property = getProperty(name);
            if (property.getType() == null) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbResourceLocatorTest.java

                return null;
            }
    
            @Override
            public boolean isIPC() {
                return false;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public boolean isWorkgroup() {
                return false;
            }
    
            @Override
            public boolean isRoot() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        }
    
        private void demux(List<Exchange> exchanges) {
            for (Exchange exchange : exchanges) {
                exchange.process(transferEvent -> {
                    TransferEvent.EventType type = transferEvent.getType();
                    try {
                        switch (type) {
                            case INITIATED:
                                delegate.transferInitiated(transferEvent);
                                break;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            FE(String name) {
                this.name = name;
            }
    
            @Override
            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public int getAttributes() {
                return 0;
            }
    
            @Override
            public long createTime() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          return array;
        }
        Method emptyGenerate = EMPTY_GENERATORS.get(rawType);
        if (emptyGenerate != null) {
          if (emptyInstanceGenerated.containsKey(type.getType())) {
            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()).intValue() == freshness.get()) {
              // same freshness, generate again.
              return invokeGeneratorMethod(emptyGenerate);
            } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            // SMB file implementation. For now, we'll provide a basic structure.
    
            log.debug("Performing reconnection for handle: {} (type: {})", info.getPath(), info.getType());
    
            // Create reconnect context
            DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId());
    
            // This would typically involve:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        }
    
        // Helper to create a minimal FileEntry mock
        private FileEntry entry(String name, int type) {
            FileEntry e = mock(FileEntry.class);
            when(e.getName()).thenReturn(name);
            when(e.getType()).thenReturn(type);
            return e;
        }
    
        @Test
        @DisplayName("Happy path without filter: iterates all entries in order")
        void happyPath_noFilter_returnsAll() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top