Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,129 for unsafe (0.07 seconds)

  1. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  2. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  3. 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));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. COMPLIANCE.md

    We have designed MinIO as an Open Source software for the Open Source software community. This requires applications to consider whether their usage of MinIO is in compliance with the GNU AGPLv3 [license](https://github.com/minio/minio/blob/master/LICENSE).
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 1.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableMultimap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Multimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with
     * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  6. 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);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  7. 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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. guava/module.json

            "org.gradle.dependency.bundling": "external",
            "org.gradle.jvm.version": "8",
            "org.gradle.jvm.environment": "${variant.jvmEnvironment}",
            "org.gradle.libraryelements": "jar",
            "org.gradle.usage": "java-api"
          },
          "dependencies": [
            {
              "group": "com.google.guava",
              "module": "failureaccess",
              "version": {
                "requires": "1.0.3"
              }
            },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 19:50:42 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. 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()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

             */
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            protected String sessionId;
    
            /**
             * Name identifier for the thumbnail generation task.
             */
            @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name")
            protected String name;
    
            /**
             * Path to the properties file for configuration.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top