Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3841 - 3850 of 4,556 for true (0.07 seconds)

  1. src/bufio/example_test.go

    	for scanner.Scan() {
    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. cmd/notification.go

    				peersLogOnceIf(ctx, err, client.host.String())
    				return nil
    			}
    
    			for typ, data := range data {
    				// zip writer only handles one concurrent write
    				writeMu.Lock()
    				profilingDataFound = true
    				err := embedFileInZip(zipWriter, fmt.Sprintf("profile-%s-%s", client.host.String(), typ), data, 0o600)
    				writeMu.Unlock()
    				if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    searchRequestBuilder.setPreference(Constants.SEARCH_PREFERENCE_LOCAL)
                            .setQuery(pair.getValue2())
                            .setSize(keyMatch.getMaxSize());
                    return true;
                });
            }
            return Collections.emptyList();
        }
    
        /**
         * Converts a string to lowercase.
         *
         * @param term The string to convert.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

              Entry<K, V> onlyEntry = requireNonNull(entries[0]);
              return of(onlyEntry.getKey(), onlyEntry.getValue());
            default:
              entriesUsed = true;
              return JdkBackedImmutableMap.create(size, entries, /* throwIfDuplicateKeys= */ true);
          }
        }
    
        /**
         * Scans the first {@code size} elements of {@code entries} looking for duplicate keys. If
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          if (value != null) {
            try {
              int unused = value.hashCode();
            } catch (Exception e) { // sneaky checked exception
              return false;
            }
            return true;
          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean remove(@Nullable Object key, @Nullable Object value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns {@code true} if this immutable multimap's implementation contains references to
       * user-created objects that aren't accessible via this multimap's methods. This is generally used
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            result = prime * result + requestType;
            return result;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if ((obj == null) || (getClass() != obj.getClass())) {
                return false;
            }
            final ArtifactTransferEvent other = (ArtifactTransferEvent) obj;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/PythonJob.java

                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
                    pb.redirectErrorStream(true);
                    final Map<String, String> environment = pb.environment();
                    environment.put("SESSION_ID", sessionId);
                    environment.put("OPENSEARCH_URL", SystemUtil.getSearchEngineHttpAddress());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            try {
                java.lang.reflect.Method method = IpAddressUtil.class.getDeclaredMethod("compressIPv6", String.class);
                method.setAccessible(true);
    
                // Compressed forms should remain unchanged
                assertEquals("::1", method.invoke(null, "::1"));
                assertEquals("2001:db8::1", method.invoke(null, "2001:db8::1"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

        }
    
        /**
         * Returns {@code true} if passed in artifact is originating from local repository. In other words, we want
         * to process and store tracking information ONLY into local repository, not to any other place. This method
         * filters out currently built artifacts, as events are fired for them as well, but their resolved artifact
         * file would point to checked out source-tree, not the local repository.
         * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top