Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 996 for useEmpty (0.12 seconds)

  1. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * SortedMultiset#contains}, {@link SortedMultiset#containsAll}, {@link SortedMultiset#count},
       * {@link SortedMultiset#firstEntry} {@link SortedMultiset#headMultiset}, {@link
       * SortedMultiset#isEmpty}, {@link SortedMultiset#lastEntry}, {@link SortedMultiset#subMultiset},
       * {@link SortedMultiset#tailMultiset}, the {@code size()} and {@code iterator()} methods of
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. cmd/admin-handlers-site-replication.go

    		} else {
    			policy, perr := policy.ParseConfig(bytes.NewReader(item.Policy))
    			if perr != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, perr), r.URL)
    				return
    			}
    			if policy.IsEmpty() {
    				err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, nil, item.UpdatedAt)
    			} else {
    				err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, policy, item.UpdatedAt)
    			}
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. internal/ringbuffer/ring_buffer.go

    	return buf
    }
    
    // IsFull returns this ringbuffer is full.
    func (r *RingBuffer) IsFull() bool {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	return r.isFull
    }
    
    // IsEmpty returns this ringbuffer is empty.
    func (r *RingBuffer) IsEmpty() bool {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	return !r.isFull && r.w == r.r
    }
    
    // CloseWithError closes the writer; reads will return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. internal/bucket/object/lock/lock.go

    				l.Status = st
    			default:
    				return xml.UnmarshalError(fmt.Sprintf("expected element type <Status> but have <%s>", se.Name.Local))
    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if struct is empty
    func (l *ObjectLegalHold) IsEmpty() bool {
    	return !l.Status.Valid()
    }
    
    // ParseObjectLegalHold decodes the XML into ObjectLegalHold
    func ParseObjectLegalHold(reader io.Reader) (hold *ObjectLegalHold, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

         */
        public void addExtractor(final List<String> keyList, final Extractor extractor) {
            if (keyList == null || keyList.isEmpty()) {
                throw new CrawlerSystemException("The key list is empty.");
            }
            keyList.stream().distinct().forEach(key -> addExtractor(key, extractor));
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. internal/event/target/nsq.go

    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.NSQDAddress.IsEmpty() {
    		return errors.New("empty nsqdAddress")
    	}
    
    	if n.Topic == "" {
    		return errors.New("empty topic")
    	}
    	if n.QueueDir != "" {
    		if !filepath.IsAbs(n.QueueDir) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

            json.append("\"severity\":\"").append(entry.severity.name()).append("\",");
            json.append("\"message\":\"").append(escapeJson(entry.message)).append("\"");
    
            if (!entry.context.isEmpty()) {
                json.append(",\"context\":{");
                boolean first = true;
                for (Map.Entry<String, Object> e : entry.context.entrySet()) {
                    if (e.getValue() != null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            if (session != null) {
                request.setRepositorySession(session.getRepositorySession());
                request.setSystemProperties(session.getSystemProperties());
                if (request.getUserProperties().isEmpty()) {
                    request.setUserProperties(session.getUserProperties());
                }
    
                MavenExecutionRequest req = session.getRequest();
                if (req != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/LinkedListMultimap.java

          nextIndex++;
          current = null;
        }
      }
    
      // Query Operations
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      public boolean isEmpty() {
        return head == null;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return keyToKeyList.containsKey(key);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                // Extract object name from path, removing leading slash if present and decoding URL encoding
                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top