Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 934 for _clone (0.06 seconds)

  1. src/archive/tar/example_test.go

    			Size: int64(len(file.Body)),
    		}
    		if err := tw.WriteHeader(hdr); err != nil {
    			log.Fatal(err)
    		}
    		if _, err := tw.Write([]byte(file.Body)); err != nil {
    			log.Fatal(err)
    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java

         * This default implementation does nothing.
         *
         * @throws Exception if an error occurs during closing
         */
        @Override
        default void close() throws Exception {
            // nothing
        }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

            val userData = context.userData as MutableMap<String, Any?>
            val key = BinaryCompatibilityRepositorySetupRule.REPOSITORY_CONTEXT_KEY
            (userData[key] as BinaryCompatibilityRepository).close()
            userData[key] = null
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  4. docs/smb3-features/04-directory-leasing-design.md

        }
        
        // Continue with normal connection logic
        super.doConnect();
    }
    
    @Override
    public void close() throws IOException {
        try {
            super.close();
        } finally {
            // Don't release directory lease on close - it may be shared
            // Lease will be cleaned up by the lease manager
        }
    }
    ```
    
    ### 5.2 Session Integration
    ```java
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

                final ByteBuffer buffer = ByteBuffer.allocate((int) fileSize);
                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * Reads text from a file using the default encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

            }
        }
    
        /**
         * Closes this SAM alias handle.
         *
         * @throws IOException if an I/O error occurs during handle closure
         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

                final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
                handle.sendrecv(rpc2);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
            if (this.opened) {
                this.opened = false;
                final samr.SamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
                this.handle.sendrecv(rpc);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt

            }
          }
      }
    
      class ClosableDispatcher : Dispatcher() {
        var closed = false
    
        override fun dispatch(request: RecordedRequest) = MockResponse()
    
        override fun close() {
          closed = true
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 11:13:17 GMT 2025
    - 3.3K bytes
    - Click Count (1)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

         */
        void onEvent(Object event) throws Exception;
    
        /**
         * Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
         */
        void close() throws Exception;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. internal/disk/stat_test.go

    		t.Run("", func(t *testing.T) {
    			tmpfile, err := os.CreateTemp(t.TempDir(), "testfile")
    			if err != nil {
    				t.Error(err)
    			}
    			tmpfile.WriteString(testCase.stat)
    			tmpfile.Sync()
    			tmpfile.Close()
    
    			iostats, err := readDriveStats(tmpfile.Name())
    			if err != nil && !testCase.expectErr {
    				t.Fatalf("unexpected err; %v", err)
    			}
    			if testCase.expectErr && err == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top