Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 200 for setType (0.06 sec)

  1. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

                this.name = name;
                this.type = type;
            }
    
            @Override
            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
                return type;
            }
    
            @Override
            public int getAttributes() {
                return 0;
            }
    
            @Override
            public long createTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            info.lastWriteTime = 1672617600000L; // 2023-01-02
            info.endOfFile = 1024;
    
            assertEquals("test.txt", info.getName());
            assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType());
            assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes());
            assertEquals(1672531200000L, info.createTime());
            assertEquals(1672617600000L, info.lastModified());
            assertEquals(1024, info.length());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    		return r.ContentLength > 0 && !globalServerCtxt.StrictS3Compat
    	}
    	return false
    }
    
    // Returns SHA256 for calculating canonical-request.
    func getContentSha256Cksum(r *http.Request, stype serviceType) string {
    	if stype == serviceSTS {
    		payload, err := io.ReadAll(io.LimitReader(r.Body, stsRequestBodyLimit))
    		if err != nil {
    			logger.CriticalIf(GlobalContext, err)
    		}
    		sum256 := sha256.Sum256(payload)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          if (Modifier.isPublic(field.getModifiers())
              && Modifier.isStatic(field.getModifiers())
              && Modifier.isFinal(field.getModifiers())) {
            if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) {
              field.setAccessible(true);
              try {
                T constant = type.cast(field.get(null));
                if (constant != null) {
                  return constant;
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                    break;
                }
            }
            dirCount = fileCount = 0;
            maxLen = 28;
            for (i = 0; i < dirents.length; i++) {
                try {
                    if (dirents[i].getType() == SmbConstants.TYPE_NAMED_PIPE) {
                        continue;
                    }
                } catch (final SmbAuthException sae) {
                    log.warn("Auth failed", sae);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                                d.getGroupId(), d.getArtifactId(), d.getVersion(), d.getScope(), d.getType());
                    } else {
                        artifact = artifactFactory.createDependencyArtifact(
                                d.getGroupId(),
                                d.getArtifactId(),
                                versionRange,
                                d.getType(),
                                d.getClassifier(),
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Returns the type identifier for this dictionary file.
         *
         * @return the string "mapping" identifying this as a character mapping file
         */
        @Override
        public String getType() {
            return MAPPING;
        }
    
        /**
         * Returns the file path of this character mapping dictionary.
         *
         * @return the file path as a string
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top