Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 746 for isEmpty (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThrows(IllegalArgumentException.class, () -> Chars.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testJoin() {
        assertThat(Chars.join(",", EMPTY)).isEmpty();
        assertThat(Chars.join(",", '1')).isEqualTo("1");
        assertThat(Chars.join(",", '1', '2')).isEqualTo("1,2");
        assertThat(Chars.join("", '1', '2', '3')).isEqualTo("123");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                } catch (Exception e) {
                    log.debug("Error disconnecting unhealthy transport: {}", e.getMessage());
                }
            }
    
            if (!unhealthy.isEmpty()) {
                log.info("Removed {} unhealthy connections from pool", unhealthy.size());
            }
    
            // Perform maintenance tasks
            performMaintenanceTasks();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  4. cmd/generic-handlers.go

    			} else {
    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    		if globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(sr)...)).IsEmpty() {
    			r.URL.Scheme = "http"
    			if globalIsTLS {
    				r.URL.Scheme = "https"
    			}
    			r.URL.Host = getHostFromSrv(sr)
    			// Make sure we remove any existing headers before
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        @Override
        public void treeConnectLogon() throws SmbException {
            String logonShare = getContext().getConfig().getLogonShare();
            if (logonShare == null || logonShare.isEmpty()) {
                throw new SmbException("Logon share is not defined");
            }
            try (SmbTreeImpl t = getSmbTree(logonShare, null)) {
                t.treeConnect(null, null);
            } catch (CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

          for (int i = size - 1; i >= 0; i--) {
            if (!seen.add(entries[i].getKey())) {
              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return null;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntries = new Entry[size - dups.cardinality()];
          for (int inI = 0, outI = 0; inI < size; inI++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testJoin() {
        assertThat(Floats.join(",", EMPTY)).isEmpty();
        assertThat(Floats.join(",", ARRAY1)).isEqualTo("1.0");
        assertThat(Floats.join(",", 1.0f, 2.0f)).isEqualTo("1.0,2.0");
        assertThat(Floats.join("", 1.0f, 2.0f, 3.0f)).isEqualTo("1.02.03.0");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

       */
      @Nullable V get(
          @CompatibleWith("R") @Nullable Object rowKey,
          @CompatibleWith("C") @Nullable Object columnKey);
    
      /** Returns {@code true} if the table contains no mappings. */
      boolean isEmpty();
    
      /** Returns the number of row key / column key / value mappings in the table. */
      int size();
    
      /**
       * Compares the specified object with this table for equality. Two tables are equal when their
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

         * @throws SmbException if path is invalid
         */
        public void validatePath(String path) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (path == null || path.isEmpty()) {
                return; // Empty paths allowed
            }
    
            // Check overall path length
            if (path.length() > MAX_PATH_SIZE) {
                failedValidations.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top