Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 6,125 for RETURN (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/bucket/replication/and.go

    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    	}
    	for _, t := range a.Tags {
    		if err := t.Validate(); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

                    return GIGABYTE;
                } else if (size >= MEGABYTE.bytes()) {
                    return MEGABYTE;
                } else if (size >= KILOBYTE.bytes()) {
                    return KILOBYTE;
                } else {
                    return BYTE;
                }
            }
        }
    
        public String format(long size) {
            return format(size, null);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            } else {
                log.trace("SmbComClose without a digest");
            }
            return 6;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/ShareEnumIterator.java

            this.filter = filter;
            this.next = advance();
        }
    
        /**
         * @return next element
         */
        private SmbResource advance() {
            while (this.delegate.hasNext()) {
                final FileEntry n = this.delegate.next();
                if (this.filter == null) {
                    try {
                        return adapt(n);
                    } catch (final MalformedURLException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. internal/lock/lock.go

    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    	r.refs--
    	if r.refs == 0 {
    		err = r.File.Close()
    	}
    
    	return err
    }
    
    // Provides a new initialized read locked struct from *os.File
    func newRLockedFile(lkFile *LockedFile) (*RLockedFile, error) {
    	if lkFile == nil {
    		return nil, os.ErrInvalid
    	}
    
    	return &RLockedFile{
    		LockedFile: lkFile,
    		refs:       1,
    	}, nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  7. cmd/metrics-v3-types.go

    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    	switch mt {
    	case CounterMT:
    		return prometheus.CounterValue
    	case GaugeMT:
    		return prometheus.GaugeValue
    	case HistogramMT:
    		return prometheus.CounterValue
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

         *
         * @return the port
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number. Use -1 for any port.
         *
         * @param port the port
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Gets the authentication realm.
         *
         * @return the realm
         */
        public String getRealm() {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            return null; // ignore
        }
    
        /**
         * Retrieves a specific document by ID.
         *
         * @param id the document ID to retrieve
         * @return JSON response containing the document
         */
        // GET /api/admin/searchlist/doc/{doc_id}
        @Execute
        public JsonResponse<ApiResult> get$doc(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                    directoryCache.remove(directoryPath);
                    return null;
                }
            }
    
            return entry;
        }
    
        /**
         * Check if directory listing can be cached
         *
         * @param directoryPath directory path
         * @return true if caching is allowed
         */
        public boolean canCacheDirectoryListing(String directoryPath) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top