Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 836 for isEmpty (0.07 sec)

  1. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
        assertThat(map.entrySet())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                        list.clear();
                    }
                    list.add(matcher.group(2));
                } else {
                    list.add(line);
                }
            }
            if (lineNum == 0 || list.isEmpty()) {
                return "<pre class=\"" + style + "\">" + input + "</pre>";
            }
            int lastIndex = list.size();
            if (list.get(list.size() - 1).endsWith("...")) {
                lastIndex--;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. internal/event/target/postgresql.go

    func NewPostgreSQLTarget(id string, args PostgreSQLArgs, loggerOnce logger.LogOnce) (*PostgreSQLTarget, error) {
    	params := []string{args.ConnectionString}
    	if args.ConnectionString == "" {
    		params = []string{}
    		if !args.Host.IsEmpty() {
    			params = append(params, "host="+args.Host.String())
    		}
    		if args.Port != "" {
    			params = append(params, "port="+args.Port)
    		}
    		if args.Username != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            this.columnNumber = location.getColumnNumber();
            this.source = location.getSource() != null ? new InputSource(location.getSource()) : null;
            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    			r, ok := dnsBuckets[bucket]
    			if !ok {
    				bucketsToBeUpdated.Add(bucket)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    				if globalDomainIPs.Difference(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() && !domainMissing {
    					// No difference in terms of domainIPs and nothing
    					// has changed so we don't change anything on the etcd.
    					//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacLogonInfo.java

                }
    
                // Compute User IDs with Domain ID to get User SIDs
                // First extra is user if userId is empty
                if ( !userId.isEmpty() && !userId.isBlank() ) {
                    this.userSid = new SID(domainId, userId);
                }
                else if ( this.extraSids.length > 0 ) {
                    this.userSid = this.extraSids[ 0 ];
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    if (isPlexusBean(bean)) {
                        list.add(new BindingToBeanEntry<>(key).toBeanEntry(bean));
                    }
                }
                if (!list.isEmpty()) {
                    list.sort(getBindingComparator());
                    //noinspection unchecked
                    return () -> (Q) getInstance(list.iterator().next());
                } else if (dep.optional()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                boolean empty;
                try {
                    empty = client.admin().indices().prepareGetMappings(actualIndex).execute().actionGet(settings.getIndicesTimeout())
                            .getMappings().isEmpty();
                } catch (final IndexNotFoundException e) {
                    empty = true;
                    final CreateIndexResponse response = client.admin().indices().prepareCreate(actualIndex)
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

        }
      }
    
      internal fun check(
        hostname: String,
        cleanedPeerCertificatesFn: () -> List<X509Certificate>,
      ) {
        val pins = findMatchingPins(hostname)
        if (pins.isEmpty()) return
    
        val peerCertificates = cleanedPeerCertificatesFn()
    
        for (peerCertificate in peerCertificates) {
          // Lazily compute the hashes for each certificate.
          var sha1: ByteString? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top