Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 870 for _clone (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/TestByteSink.java

      }
    
      private final class Out extends TestOutputStream {
    
        Out() throws IOException {
          super(bytes, options);
        }
    
        @Override
        public void close() throws IOException {
          outputStreamClosed = true;
          super.close();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrCloseHandle.java

    import jcifs.smb1.dcerpc.rpc;
    
    /**
     * MS-RPC SAMR close handle operation.
     *
     * This class implements the SAMR CloseHandle operation for releasing
     * Security Account Manager (SAM) handles.
     */
    public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle {
    
        /**
         * Creates a new request to close a SAM handle.
         *
         * @param policyHandle the policy handle to close
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. internal/stmt_store/stmt_store.go

    	*sql.Stmt
    	Transaction bool
    	prepared    chan struct{}
    	prepareErr  error
    }
    
    func (stmt *Stmt) Error() error {
    	return stmt.prepareErr
    }
    
    func (stmt *Stmt) Close() error {
    	<-stmt.prepared
    
    	if stmt.Stmt != nil {
    		return stmt.Stmt.Close()
    	}
    	return nil
    }
    
    // Store defines an interface for managing the caching operations of SQL statements (Stmt).
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

            messageBuffer.readAndWriteUnsafe(maskCursor!!)
            maskCursor.seek(0L)
            toggleMask(maskCursor, maskKey)
            maskCursor.close()
          }
        }
    
        sinkBuffer.write(messageBuffer, dataSize)
        sink.flush()
      }
    
      override fun close() {
        messageDeflater?.closeQuietly()
        sink.closeQuietly()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

                }
                off += r;
            }
            return off;
        }
    
        @Override
        public void close() throws IOException {
            super.close();
            try {
                this.handle.close();
            } finally {
                this.pipe.close();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	var cloneTests = [][]byte{
    		[]byte(nil),
    		[]byte{},
    		Clone([]byte{}),
    		[]byte(strings.Repeat("a", 42))[:0],
    		[]byte(strings.Repeat("a", 42))[:0:0],
    		[]byte("short"),
    		[]byte(strings.Repeat("a", 42)),
    	}
    	for _, input := range cloneTests {
    		clone := Clone(input)
    		if !Equal(clone, input) {
    			t.Errorf("Clone(%q) = %q; want %q", input, clone, input)
    		}
    
    		if input == nil && clone != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbRandomAccess.java

     *
     * @author mbechler
     *
     */
    public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable {
    
        /**
         * Close the file
         *
         * @throws SmbException if an I/O error occurs during close
         */
        @Override
        void close() throws SmbException;
    
        /**
         * Read a single byte from the current position
         *
         * @return read byte, -1 if EOF
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/archive/tar/fuzz_test.go

    				t.Fatalf("unable to write previously parsed content: %s", err)
    			}
    		}
    		if err := w.Close(); err != nil {
    			t.Fatalf("Unable to write archive: %s", err)
    		}
    
    		// TODO: We may want to check if the archive roundtrips. This would require
    		// taking into account addition of the two zero trailer blocks that Writer.Close
    		// appends.
    	})
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransport.java

         */
        <T extends SmbTransport> T unwrap(Class<T> type);
    
        /**
         *
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close();
    
        /**
         * Gets the address of the remote SMB server.
         *
         * @return the connected address
         */
        Address getRemoteAddress();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Streams.java

                      return true;
                    }
                    return false;
                  }
                },
                isParallel)
            .onClose(streamA::close)
            .onClose(streamB::close);
      }
    
      /**
       * Invokes {@code consumer} once for each pair of <i>corresponding</i> elements in {@code streamA}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top