Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,033 for Close (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            doExecute(session, mojoExecution, dependencyContext);
        }
    
        protected static class NoLock implements NoExceptionCloseable {
            public NoLock() {}
    
            @Override
            public void close() {}
        }
    
        /**
         * Aggregating mojo executions (possibly) modify all MavenProjects, including those that are currently in use
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. internal/config/dns/etcd_dns.go

    	return json.Marshal(&SrvRecord{
    		Host:         ip,
    		Port:         json.Number(port),
    		TTL:          ttl,
    		CreationDate: t,
    	})
    }
    
    // Close closes the internal etcd client and cannot be used further
    func (c *CoreDNS) Close() error {
    	c.etcdClient.Close()
    	return nil
    }
    
    // List - Retrieves list of DNS entries for the domain.
    func (c *CoreDNS) List() (map[string][]SrvRecord, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     *
     * Map<String, Object> document;
     * while ((document = reader.read()) != null) {
     *     // Process the document
     *     System.out.println(document);
     * }
     *
     * reader.close(); // Close the reader to release resources
     * }
     * </pre>
     */
    public class ESSourceReader implements DocumentReader {
        private static final Logger logger = LogManager.getLogger(ESSourceReader.class);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

            }
        }
    
        /**
         * Closes this SAM domain 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

          .assertSuccessful()
          .assertCode(200)
    
        println("server1.requestCount ${server1.requestCount}")
        assertThat(server1.requestCount).isEqualTo(1)
    
        // Close the proxy server
        if (cleanClose) {
          server1.close()
        }
    
        // Now redirect with DNS to proxyServer2
        // Then redirect socket connection to server2
        dns["myproxy"] = listOf(proxyServer2)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 15:25:06 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      fun shutdown() {
        delegate.close()
      }
    
      @Synchronized override fun after() {
        try {
          shutdown()
        } catch (e: IOException) {
          logger.log(Level.WARNING, "MockWebServer shutdown failed", e)
        }
      }
    
      override fun toString(): String = delegate.toString()
    
      @Throws(IOException::class)
      override fun close() = delegate.close()
    
      companion object {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 00:19:42 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              sink.writeUtf8("a".repeat(byteCount.toInt()))
              return byteCount
            }
    
            override fun close() {
            }
    
            override fun timeout() = Timeout.NONE
          }
    
        assertThat(unlimitedSource.buffer().isProbablyUtf8(1L)).isTrue()
        assertThat(unlimitedSource.buffer().isProbablyUtf8(1024L)).isTrue()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          MockResponse
            .Builder()
            .code(408)
            .addHeader("Connection", "Close")
            .body("You took too long!")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(408)
            .addHeader("Connection", "Close")
            .body("You took too long!")
            .onResponseEnd(ShutdownConnection)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/storage/StorageClient.java

         *
         * @return true if storage is available
         */
        boolean isAvailable();
    
        /**
         * Closes the client and releases resources.
         */
        @Override
        void close();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top