Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 977 for close1 (0.06 sec)

  1. internal/s3select/simdj/record.go

    // Reset the record.
    func (r *Record) Reset() {
    	r.object = simdjson.Object{}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	other.object = r.object
    	return other
    }
    
    // CloneTo clones the record to a json Record.
    // Values are only unmashaled on object level.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		if err != nil {
    			return err
    		}
    		if etcdCfg.Enabled {
    			etcdClnt, err := etcd.New(etcdCfg)
    			if err != nil {
    				return err
    			}
    			etcdClnt.Close()
    		}
    	case config.IdentityOpenIDSubSys:
    		if _, err := openid.LookupConfig(s,
    			NewHTTPTransport(), xhttp.DrainBody, globalSite.Region()); err != nil {
    			return err
    		}
    	case config.IdentityLDAPSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/prepare-storage.go

    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    	// Initialize a zip writer which will provide a zipped content
    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    	rawDataFn := func(r io.Reader, filename string, sz int) error {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                        throw new DictionaryException("Failed to write: " + item, e);
                    }
                }
                return null;
            }
    
            @Override
            public void close() {
                try {
                    writer.flush();
                } catch (final IOException e) {
                    // ignore
                }
                CloseableUtil.closeQuietly(writer);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("abc")
        response1.close()
    
        // Force a fresh connection for the next request.
        client.connectionPool.evictAll()
    
        // Confirm that a second request also succeeds. This should detect caching problems.
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    ### Ask to close
    
    If they reply, there's a high chance you would have solved their problem, congrats, **you're a hero**! 🦸
    
    * Now, if that solved their problem, you can ask them to:
    
        * In GitHub Discussions: mark the comment as the **answer**.
        * In GitHub Issues: **close** the issue.
    
    ## Watch the GitHub repository
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
             * predictable what work might be done. (e.g., close a file and flush buffers to disk). To
             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
            if (state == PARKED || compareAndSet(state, PARKED)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. internal/dsync/dsync-server_test.go

    	if err == nil && !reply {
    		err = errLockConflict
    	}
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func stopLockServers() {
    	for i := 0; i < numberOfNodes; i++ {
    		nodes[i].Close()
    	}
    }
    
    func startLockServers() {
    	for i := 0; i < numberOfNodes; i++ {
    		lsrv := &lockServer{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string]int64),
    		}
    		lockServer := lockServerHandler{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
        assertThat(elapsedMillis).isGreaterThanOrEqualTo(1000L)
        inputStream.close()
      }
    
      @Test
      fun disconnectRequestHalfway() {
        server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top