Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 870 for _clone (0.04 sec)

  1. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

            return n;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() throws CIFSException {
            this.delegate.close();
        }
    
        @Override
        public void remove() {
            this.delegate.remove();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

          StringWriter target = new StringWriter(2 * n);
          OutputStream encodingStream = encoding.encoding.encodingStream(target);
          encodingStream.write(encodingInputs[i & INPUTS_MASK]);
          encodingStream.close();
          tmp += target.getBuffer().length();
        }
        return tmp;
      }
    
      @Benchmark
      public int decodingStream(int reps) throws IOException {
        int tmp = 0;
        byte[] target = new byte[n];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB2 Close response message. This response acknowledges the closing of a file
     * and provides final file attributes.
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * underlying input and output streams and shuts down internal task queues.
       */
      override fun close() {
        close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null)
      }
    
      internal fun close(
        connectionCode: ErrorCode,
        streamCode: ErrorCode,
        cause: IOException?,
      ) {
        assertLockNotHeld()
    
        ignoreIoExceptions {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/stack.go

    func (s *Stack) Push(tr TokenReader) {
    	s.tr = append(s.tr, tr)
    }
    
    func (s *Stack) Next() ScanToken {
    	tos := s.tr[len(s.tr)-1]
    	tok := tos.Next()
    	for tok == scanner.EOF && len(s.tr) > 1 {
    		tos.Close()
    		// Pop the topmost item from the stack and resume with the next one down.
    		s.tr = s.tr[:len(s.tr)-1]
    		tok = s.Next()
    	}
    	return tok
    }
    
    func (s *Stack) Text() string {
    	return s.tr[len(s.tr)-1].Text()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jan 09 22:33:23 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbConnectionTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
    
            // Test various command batch limits
            int readAndXClose = config.getBatchLimit("ReadAndX.Close");
            assertTrue(readAndXClose >= 0, "ReadAndX.Close batch limit should be non-negative");
    
            int treeConnectCheck = config.getBatchLimit("TreeConnectAndX.CheckDirectory");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            // Act
            raf.close();
    
            // Assert interactions
            verify(handle, atLeastOnce()).close();
            verify(file, times(1)).clearAttributeCache();
            verify(file, never()).close();
        }
    
        @Test
        @DisplayName("close(): closes SmbFile when unsharedFile=true")
        void close_unsharedFile_closesFile() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Close and verify subsequent calls throw
            handle.close();
            CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw");
            assertTrue(ex1.getMessage().contains("Already closed"));
            CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    }
    
    // update restore status header in the metadata
    func (er erasureObjects) updateRestoreMetadata(ctx context.Context, bucket, object string, objInfo ObjectInfo, opts ObjectOptions) error {
    	oi := objInfo.Clone()
    	oi.metadataOnly = true // Perform only metadata updates.
    
    	// allow retry in the case of failure to restore
    	delete(oi.UserDefined, xhttp.AmzRestore)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            return this.open && this.tree_num == this.tree.getTreeId() && this.tree.isConnected();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbFileHandle#close(long)
         */
        @Override
        public synchronized void close(final long lastWriteTime) throws CIFSException {
            closeInternal(lastWriteTime, true);
        }
    
        /**
         * @param lastWriteTime
         * @throws SmbException
         */
    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