Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for Usage (0.02 sec)

  1. cmd/data-usage-cache.go

    // dataUsageCacheV2 contains a cache of data usage entries version 2.
    type dataUsageCacheV2 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV2
    }
    
    // dataUsageCacheV3 contains a cache of data usage entries version 3.
    type dataUsageCacheV3 struct {
    	Info  dataUsageCacheInfo
    	Cache map[string]dataUsageEntryV3
    }
    
    // dataUsageCacheV4 contains a cache of data usage entries version 4.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  2. cmd/fmt-gen.go

    )
    
    var fmtGenFlags = []cli.Flag{
    	cli.IntFlag{
    		Name:  "parity",
    		Usage: "specify erasure code parity",
    	},
    	cli.StringFlag{
    		Name:  "deployment-id",
    		Usage: "deployment-id of the MinIO cluster for which format.json is needed",
    	},
    	cli.StringFlag{
    		Name:   "address",
    		Value:  ":" + GlobalMinioDefaultPort,
    		Usage:  "bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_ADDRESS",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacMac.java

         */
        public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException {
            byte[] cst = { (byte) (usage >> 24 & 0xFF), (byte) (usage >> 16 & 0xFF), (byte) (usage >> 8 & 0xFF), (byte) (usage & 0xFF),
                    (byte) 0x99 };
    
            byte[] output = new byte[12];
            byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. docs/erasure/storage-class/README.md

    saving the object in specific number of data and parity drives.
    
    ## Storage usage
    
    The selection of varying data and parity drives has a direct impact on the drive space usage. With storage class, you can optimize for high
    redundancy or better drive space utilization.
    
    To get an idea of how various combinations of data and parity drives affect the storage usage, let’s take an example of a 100 MiB file stored
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        public void testResourceCleanup() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Session starts with usage count > 0, so acquire/release cycles maintain usage
            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Test acquire/release cycles (session remains in use due to initial transport acquire)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
            }
    
            if (usage == 0) {
                synchronized (this) {
                    log.debug("Usage dropped to zero, release session");
                    if (this.sessionAcquired.compareAndSet(true, false)) {
                        this.session.release();
                    }
                }
            } else if (usage < 0) {
                log.error("Usage count dropped below zero " + this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

         */
        public void release() {
            final long usage = this.usageCount.decrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Release transport " + usage + " " + this);
            }
    
            if (usage == 0) {
                if (log.isTraceEnabled()) {
                    log.trace("Transport usage dropped to zero " + this);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
        /**
         * @return tree connection with increased usage count
         */
        public SmbTreeConnection acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace("Acquire tree connection " + usage + " " + this);
            }
    
            if (usage == 1) {
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            verify(trace, times(1)).checkRelease();
        }
    
        @Test
        @DisplayName("checkRelease(): when connected and usage>0 performs check without throwing")
        void checkRelease_connectedAndInUse_doesNotThrow() {
            // Arrange: spy isConnected() to return true; increment usage via acquire()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         */
        @Override
        public synchronized void release() throws CIFSException {
            final long usage = this.usageCount.decrementAndGet();
            if (usage == 0) {
                closeInternal(0L, false);
            } else if (log.isTraceEnabled()) {
                log.trace(String.format("Release %s (%d)", this, usage));
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
Back to top