Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkNotClosed (0.23 sec)

  1. android/guava/src/com/google/common/io/AppendableWriter.java

      public void write(int c) throws IOException {
        checkNotClosed();
        target.append((char) c);
      }
    
      @Override
      public void write(String str) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        // tricky: append takes start, end pair...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

         */
        public byte[] generateRandomKey(int length) {
            checkNotClosed();
    
            byte[] key = new byte[length];
            secureRandom.nextBytes(key);
            return key;
        }
    
        /**
         * Clear all stored keys
         */
        public void clearAllKeys() {
            checkNotClosed();
    
            log.info("Clearing all stored keys");
    
            // Wipe all raw keys
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        return true
      }
    
      @Synchronized private fun checkNotClosed() {
        check(!closed) { "cache is closed" }
      }
    
      /** Force buffered operations to the filesystem. */
      @Synchronized
      @Throws(IOException::class)
      override fun flush() {
        if (!initialized) return
    
        checkNotClosed()
        trimToSize()
        journalWriter!!.flush()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *      boolean)
         */
        @Override
        public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                throws SmbException {
            checkNotClosed();
    
            // Check if authentication has expired
            if (isExpired()) {
                throw new SmbException("Authentication has expired. Please re-authenticate.");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top