Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for close (0.17 sec)

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

                log.warn("Session was not properly released");
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close () {
            release();
        }
    
    
        /**
         * 
         */
        public void release () {
            long usage = this.usageCount.decrementAndGet();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public final fun boundary ()Ljava/lang/String;
    	public fun close ()V
    	public final fun nextPart ()Lokhttp3/MultipartReader$Part;
    }
    
    public final class okhttp3/MultipartReader$Part : java/io/Closeable {
    	public fun <init> (Lokhttp3/Headers;Lokio/BufferedSource;)V
    	public final fun body ()Lokio/BufferedSource;
    	public fun close ()V
    	public final fun headers ()Lokhttp3/Headers;
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                } catch (final Exception e) {
                    logger.warn("Failed to flush indices.", e);
                }
            }
            try {
                client.close();
            } catch (final OpenSearchException e) {
                logger.warn("Failed to close Client: {}", client, e);
            }
        }
    
        public long updateByQuery(final String index, final Function<SearchRequestBuilder, SearchRequestBuilder> option,
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
                    counter--;
                } else {
                    contextLocal.remove();
                    if (context != null) {
                        try {
                            context.close();
                        } catch (final NamingException e) {
                            // ignored
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    					if err := dec.Decode(&m); err != nil {
    						part.Close()
    						apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    						apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    						writeErrorResponse(ctx, w, apiErr, r.URL)
    						return
    					}
    					fanOutEntries = append(fanOutEntries, m)
    				}
    				part.Close()
    				continue
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    		err = func() (err error) {
    			defer zippedFile.Close()
    			extractedFilePath := filepath.Join(targetDir, file.Name)
    			if file.FileInfo().IsDir() {
    				return os.MkdirAll(extractedFilePath, file.Mode())
    			}
    			outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode())
    			if err != nil {
    				return err
    			}
    			defer outputFile.Close()
    			_, err = io.Copy(outputFile, zippedFile)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    		bugLogIf(ctx, err)
    	}
    	n, erasureErr := erasure.Encode(ctx, toEncode, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if erasureErr != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. src/cmd/cgo/gcc.go

    			// with '/', which would give us a "//" comment.
    			repl := " " + gofmtPos(expr, old.Pos())
    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    			// append a close parenthesis. That will set the
    			// correct column for the following characters.
    			sub := 0
    			if r.Name.Kind != "type" {
    				sub = 1
    			}
    			if end.Column > sub {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    		if err == nil {
    			continue
    		}
    		if err == io.EOF {
    			break
    		}
    		t.Fatal(err)
    	}
    	w.(io.Closer).Close()
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, nil, shardSize); err != nil {
    		t.Fatal(err)
    	}
    
    	// 4) Streaming bitrot check on corrupted file
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// DEFAULT IMPLEMENTATION: No op.
      void (*sync)(const TF_WritableFile* file, TF_Status* status);
    
      /// Closes `*file`.
      ///
      /// Flushes all buffers and deallocates all resources.
      ///
      /// Calling `close` must not result in calling `cleanup`.
      ///
      /// Core TensorFlow will never call `close` twice.
      void (*close)(const TF_WritableFile* file, TF_Status* status);
    } TF_WritableFileOps;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top