Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 169 for GetSize (0.12 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockStateAccess.java

        private final int stateRegionSize;
    
        public LockStateAccess(LockStateSerializer protocol) {
            this.protocol = protocol;
            stateRegionSize = STATE_CONTENT_START + protocol.getSize();
        }
    
        public LockState ensureLockState(RandomAccessFile lockFileAccess) throws IOException {
            if (lockFileAccess.length() == 0) {
                // File did not exist before locking, use some initial state
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        }
        public long getCreateTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
        public long getLastWriteTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
        public long getSize() {
            return fileSize;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileTreeElementTest.groovy

            }
    
            long getLastModified() {
                return file.lastModified()
            }
    
            boolean isDirectory() {
                return file.isDirectory()
            }
    
            long getSize() {
                return file.length()
            }
    
            RelativePath getRelativePath() {
                throw new UnsupportedOperationException()
            }
    
            InputStream open() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/term/term_windows.go

    		return nil, err
    	}
    	return &State{state{st}}, nil
    }
    
    func restore(fd int, state *State) error {
    	return windows.SetConsoleMode(windows.Handle(fd), state.mode)
    }
    
    func getSize(fd int) (width, height int, err error) {
    	var info windows.ConsoleScreenBufferInfo
    	if err := windows.GetConsoleScreenBufferInfo(windows.Handle(fd), &info); err != nil {
    		return 0, 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                ZipArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/sparsity/sparsify_model_test.cc

      ASSERT_TRUE(SparsifyModel(input_model, &output_builder).ok());
      auto output_fbm = tflite::FlatBufferModel::BuildFromBuffer(
          reinterpret_cast<const char*>(output_builder.GetCurrentBufferPointer()),
          output_builder.GetSize());
      tflite::ModelT output_model;
      output_fbm->GetModel()->UnPackTo(&output_model);
    
      // Extract output metadata
      std::map<std::string, std::string> output_metadata;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                TarArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        @Override
        public long getLastWriteTime () {
            return 0L;
        }
    
    
        @Override
        public long getLastAccessTime () {
            return 0L;
        }
    
    
        @Override
        public long getSize () {
            return this.endOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        }
    
    
        @Override
        public long getLastAccessTime () {
            // Fake access time
            return convertTime(this.lastWriteTime);
        }
    
    
        @Override
        public long getSize () {
            return this.fileSize;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

            });
    
            for (int i = 0; i < blocks.size() - 1; i++) {
                Block b1 = blocks.get(i).getBlock();
                Block b2 = blocks.get(i + 1).getBlock();
                if (b1.getPos().getPos() + b1.getSize() > b2.getPos().getPos()) {
                    throw new IOException(String.format("%s overlaps with %s", b1, b2));
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
Back to top