Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 763 for secondi (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            // Load persisted handles on startup
            loadPersistedHandles();
    
            // Schedule periodic persistence and cleanup
            scheduler.scheduleAtFixedRate(this::periodicMaintenance, 30, 30, TimeUnit.SECONDS);
        }
    
        /**
         * Request a new durable handle
         * @param path the file path
         * @param type the handle type
         * @param timeout the timeout in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            Smb2LeaseKey key = leaseManager.requestLease(path, initialState);
            leaseManager.updateLease(key, initialState);
    
            // Call with default timeout (should use 60 seconds from config)
            leaseManager.handleLeaseBreakWithTimeout(key, newState);
    
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(newState, entry.getLeaseState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            Field remarkField = SmbShareInfo.class.getDeclaredField("remark");
            remarkField.setAccessible(true);
            assertEquals("Remark for Share1", remarkField.get(shareInfo));
    
            // Verify the second entry
            FileEntry entry2 = entries[1];
            assertNotNull(entry2);
            assertEquals("Share2", entry2.getName());
            assertEquals(32, entry2.getType()); // TYPE_PRINTER constant (0x20)
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. cmd/listen-notification-handlers.go

    			return
    		}
    		if pingInterval < 1 {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidQueryParams), r.URL)
    			return
    		}
    		t := time.NewTicker(time.Duration(pingInterval) * time.Second)
    		defer t.Stop()
    		emptyEventTicker = t.C
    	} else {
    		// Deprecated Apr 2023
    		t := time.NewTicker(500 * time.Millisecond)
    		defer t.Stop()
    		keepAliveTicker = t.C
    	}
    
    	enc := json.NewEncoder(w)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. tests/postgres_test.go

    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	if len(things) > 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

                bufferManager.releaseSendRegion(sendRegion);
            }
        }
        
        private void waitForSendCredit() throws IOException {
            long deadline = System.currentTimeMillis() + 5000;  // 5 second timeout
            
            while (!rdmaConnection.canSend() && System.currentTimeMillis() < deadline) {
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            this.scope = scope;
            this.createTime = System.currentTimeMillis();
            this.lastUpdateTime = createTime;
            this.lastAccessTime = createTime;
            this.maxAge = 30000; // 30 seconds default
    
            this.children = new ConcurrentHashMap<>();
            this.lock = new ReentrantReadWriteLock();
            this.isComplete = false;
            this.hasChanges = false;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          }
          totalSize--;
        }
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator generated by the returned collection traverses the values for one key, followed
       * by the values of a second key, and so on.
       */
      @Override
      public Collection<V> values() {
        return super.values();
      }
    
      @Override
      Collection<V> createValues() {
        return new Values();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    			client.doListen(ctx, listenCh, v)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top