Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,315 for _size (0.03 sec)

  1. internal/disk/stat_freebsd.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Bsize) * uint64(s.Bavail),
    		Files:  s.Files,
    		Ffree:  uint64(s.Ffree),
    		FSType: getFSType(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs/debugging/s3-verify/main.go

    func verifyChecksum(sclnt *minio.Client, srcSha256, tgtSha256 hash.Hash, srcCtnt, tgtCtnt minio.ObjectInfo) (allgood bool) {
    	opts := minio.GetObjectOptions{}
    	if srcCtnt.Size != tgtCtnt.Size {
    		fmt.Printf("differ in size sourceSize: %d, targetSize: %d\n", srcCtnt.Size, tgtCtnt.Size)
    		return false
    	} else if srcCtnt.ContentType != tgtCtnt.ContentType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

            }).createPageNumberList());
    
            return list;
        }
    
        private void updatePagerByAgg(final SearchLogPager pager, final int size) {
            pager.setAllPageCount(1);
            pager.setAllRecordCount(size);
            pager.setCurrentPageNumber(1);
            pager.setExistNextPage(false);
            pager.setExistPrePage(false);
            pager.setPageSize(pager.getPageSize());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testSize() throws IOException {
        assertEquals(bytes.length, source.size());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        // test that we can get the size even if skip() isn't supported
        assertEquals(bytes.length, new TestByteSource(bytes, SKIP_THROWS).size());
    
        // test that we can get the size even if available() always returns zero
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) {
          ensureCapacity(size + other.size);
          System.arraycopy(other.keys, 0, this.keys, this.size, other.size);
          System.arraycopy(other.values, 0, this.values, this.size, other.size);
          size += other.size;
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

        /**
         * @return the send buffer size of the underlying connection
         * @throws CIFSException
         */
        int getSendBufferSize () throws CIFSException;
    
    
        /**
         * @return the receive buffer size of the underlying connection
         * @throws CIFSException
         */
        int getReceiveBufferSize () throws CIFSException;
    
    
        /**
         * @return the maximum buffer size reported by the server
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

          TFE_NewOp(context.get(), "Size", status.get()), TFE_DeleteOp);
      auto result = parallel_device.Execute(
          context.get(), {unknown_dims_vector.get()}, "Size",
          TFE_OpGetAttrs(size_op.get()), 1, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
      TF_ASSERT_OK((*result)[0]->Shape(&shape));
      EXPECT_EQ(0, shape->size());
    }
    
    TEST(PARALLEL_DEVICE_LIB, TestScalarsFromSequence) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. internal/grid/grid_types_msgp_test.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z testRequest) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Num"
    	err = en.Append(0x82, 0xa3, 0x4e, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Num)
    	if err != nil {
    		err = msgp.WrapError(err, "Num")
    		return
    	}
    	// write "String"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
        private void testReadCrawlingInfo() {
            final List<Map<String, Object>> logList = readCrawlingInfo(webConfigId);
            logger.info("logList: {}", logList);
            assertEquals(1, logList.size());
        }
    
        private void testDeleteCrawlingInfo() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/plugin/InstallForm.java

    package org.codelibs.fess.app.web.admin.plugin;
    
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    public class InstallForm {
    
        @Required
        @Size(max = 400)
        public String id;
    
        public MultipartFormFile jarFile;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 949 bytes
    - Viewed (0)
Back to top