Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 2,029 for Size (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString());
      }
    
      public void testMap() throws IOException {
        // Test data
        int size = 1024;
        byte[] bytes = newPreFilledByteArray(size);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        // Test
        MappedByteBuffer actual = Files.map(file);
    
        // Verify
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/RemovalCause.java

       */
      EXPIRED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry was evicted due to size constraints. This can occur when using {@link
       * CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

                    throw new RuntimeCIFSException(e);
                }
                bos.write(0x0);
            }
    
            System.arraycopy(bos.toByteArray(), 0, dst, dstIndex, bos.size());
            return bos.size();
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

            StringWriter buffer = new StringWriter(1024);
    
            PrintWriter writer = new PrintWriter(buffer);
    
            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective settings");
            writer.println();
    
            for (SettingsProblem problem : problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/bitrot-streaming.go

    		defer bw.canClose.Done()
    
    		totalFileSize := int64(-1) // For compressed objects length will be unknown (represented by length=-1)
    		if length != -1 {
    			bitrotSumsTotalSize := ceilFrac(length, shardSize) * int64(h.Size()) // Size used for storing bitrot checksums.
    			totalFileSize = bitrotSumsTotalSize + length
    		}
    		rb.CloseWithError(disk.CreateFile(context.TODO(), origvolume, volume, filePath, totalFileSize, rb))
    	}()
    	return bw
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

         */
        private fun currentPartBytesRemaining(maxResult: Long): Long {
          source.require(crlfDashDashBoundary.size.toLong())
    
          return when (val delimiterIndex = source.buffer.indexOf(crlfDashDashBoundary)) {
            -1L -> minOf(maxResult, source.buffer.size - crlfDashDashBoundary.size + 1)
            else -> minOf(maxResult, delimiterIndex)
          }
        }
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMultimap.java

          return valueIterator();
        }
    
        @Override
        public Spliterator<V> spliterator() {
          return valueSpliterator();
        }
    
        @Override
        public int size() {
          return AbstractMultimap.this.size();
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          return AbstractMultimap.this.containsValue(o);
        }
    
        @Override
        public void clear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(list.size(), is(0));
            list.addLast("1");
            assertThat(list.size(), is(1));
            list.removeFirst();
            assertThat(list.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. cmd/utils.go

    	globalMaxPartID = 10000
    )
    
    // isMaxObjectSize - verify if max object size
    func isMaxObjectSize(size int64) bool {
    	return size > globalMaxObjectSize
    }
    
    // Check if part size is more than or equal to minimum allowed size.
    func isMinAllowedPartSize(size int64) bool {
    	return size >= globalMinPartSize
    }
    
    // isMaxPartNumber - Check if part ID is greater than the maximum allowed ID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
                        suggester.indexer().indexFromSearchWord(sb.toString(), fields.toArray(new String[fields.size()]),
                                tags.toArray(new String[tags.size()]), roles.toArray(new String[roles.size()]), 1, langs);
                        duplicateSessionMap.put(sessionId, requestedAt);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top