Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3181 - 3190 of 3,507 for int (0.01 sec)

  1. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

         * @param scope cache scope
         * @return lease key or null if not supported
         * @throws SmbException if an error occurs
         */
        public static Smb2LeaseKey requestDirectoryLease(SmbFile smbFile, int requestedState, DirectoryCacheScope scope) throws SmbException {
            if (!smbFile.isDirectory()) {
                throw new SmbException("Directory leasing only supported for directories");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                            && Objects.equals(type, that.type)
                            && Objects.equals(coordinatesString, that.coordinatesString);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(groupId, artifactId, version, classifier, extension, type, coordinatesString);
                }
    
                @Override
                public String toString() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. cmd/data-usage-utils.go

    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    		if infos[j].Type == "internal" {
    			return false
    		}
    		return infos[i].Name < infos[j].Name
    	})
    	return infos
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Converter.java

            ReverseConverter<?, ?> that = (ReverseConverter<?, ?>) object;
            return this.original.equals(that.original);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return ~original.hashCode();
        }
    
        @Override
        public String toString() {
          return original + ".reverse()";
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  5. src/archive/tar/tar_test.go

    // testFile is an io.ReadWriteSeeker where the IO operations performed
    // on it must match the list of operations in ops.
    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, io.EOF
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Read operation")
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertEquals("replacement", result);
        }
    
        public void test_load_withoutPathMappingBhv() {
            final PathMappingHelper helper = new PathMappingHelper();
            int result = helper.load();
            assertEquals(0, result);
        }
    
        public void test_init_called() {
            final PathMappingHelper helper = new PathMappingHelper();
            helper.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. maven-tests/mvnw

    esac
    
    # prepare tmp dir
    if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
      clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
      trap clean HUP INT TERM EXIT
    else
      die "cannot create temp dir"
    fi
    
    mkdir -p -- "${MAVEN_HOME%/*}"
    
    # Download and Install Apache Maven
    verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Get the number of active handles
         * @return the number of handles
         */
        public int getHandleCount() {
            return handles.size();
        }
    
        private void periodicMaintenance() {
            if (shutdown) {
                return;
            }
    
            lock.writeLock().lock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMin, isMin)
    		}
    	}
    }
    
    // Tests maximum allowed part number.
    func TestMaxPartID(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		partN int
    	}{
    		// Test - 1 part number within max part number.
    		{
    			false,
    			globalMaxPartID - 1,
    		},
    		// Test - 2 part number bigger than max part number.
    		{
    			true,
    			globalMaxPartID + 1,
    		},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    func (dirWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	return 0, errors.New("zip: write to directory")
    }
    
    type fileWriter struct {
    	*header
    	zipw      io.Writer
    	rawCount  *countWriter
    	comp      io.WriteCloser
    	compCount *countWriter
    	crc32     hash.Hash32
    	closed    bool
    }
    
    func (w *fileWriter) Write(p []byte) (int, error) {
    	if w.closed {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top