Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 945 for useEmpty (0.11 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
                            String splitExpr;
                            if (l.contains(">>")) {
                                global = true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertThat(Finalizer.class.getDeclaredClasses()).isEmpty();
      }
    
      static class MyServerExampleWithFrq implements Closeable {
        private static final FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. internal/config/lambda/target/webhook.go

    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    	if w.ClientCert != "" && w.ClientKey == "" || w.ClientCert == "" && w.ClientKey != "" {
    		return errors.New("cert and key must be specified as a pair")
    	}
    	return nil
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
                    long maxTime = timings.stream().mapToLong(Long::longValue).max().orElse(0L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public boolean isForking() {
            return (getExecuteGoal() != null && !getExecuteGoal().isEmpty())
                    || (getExecutePhase() != null && !getExecutePhase().isEmpty());
        }
    
        public boolean isV4Api() {
            return v4Api;
        }
    
        /**
         * Creates a shallow copy of this mojo descriptor.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (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) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. 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)
    			}
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. 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) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top