Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3391 - 3400 of 5,387 for If (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        Object defaultValue = ArbitraryInstances.get(rawType);
        if (defaultValue != null) {
          return defaultValue;
        }
    
        // TODO(cpovirk): Support these types in ArbitraryInstances itself?
        if (rawType.equals(Predicate.class)) {
          return (Predicate<Object>) v -> (boolean) getDefaultValue(TypeToken.of(boolean.class));
        } else if (rawType.equals(IntFunction.class)) {
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                    when(conn.getHeaderField(index++)).thenReturn(entry.getValue().get(0));
                }
            }
    
            if (code >= 400 && stream != null) {
                when(conn.getErrorStream()).thenReturn(stream);
            } else if (stream != null) {
                when(conn.getInputStream()).thenReturn(stream);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

                List<ObjectNode> transformRestTests;
                if (skippedFilesWithReason.containsKey(file)) {
                    //skip all the tests in the file
                    transformRestTests = transformer.transformRestTests(new LinkedList<>(tests),
                        Collections.singletonList(new Skip(skippedFilesWithReason.get(file))));
                } else {
                    if (skippedFilesWithTestAndReason.containsKey(file)) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThrows(IllegalStateException.class, () -> manager.startAsync().awaitHealthy());
        assertFalse(listener.healthyCalled);
      }
    
      /**
       * This covers a bug where if a listener was installed that would stop the manager if any service
       * fails and something failed during startup before service.start was called on all the services,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/AlpnVersions.kt

        else -> null
      }
    
    /**
     * Returns the alpn-boot version specific to this OpenJDK 8 JVM, or null if this is not a Java 8 VM.
     * https://github.com/xjdr/xio/blob/master/alpn-boot.gradle
     */
    fun alpnBootVersion(): String? {
      val version = System.getProperty("alpn.boot.version")
    
      if (version != null) {
        return version
      }
    
      val javaVersion = System.getProperty("java.version")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 01 16:35:35 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  6. cmd/metacache-bucket_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"testing"
    )
    
    func Benchmark_bucketMetacache_findCache(b *testing.B) {
    	bm := newBucketMetacache("", false)
    	const elements = 50000
    	const paths = 100
    	if elements%paths != 0 {
    		b.Fatal("elements must be divisible by the number of paths")
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/FessAppService.java

         */
        protected static String wrapQuery(final String query) {
            final StringBuilder sb = new StringBuilder();
            if (!query.startsWith("*")) {
                sb.append("*");
            }
            sb.append(query);
            if (!query.endsWith("*")) {
                sb.append("*");
            }
            return sb.toString();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/LabelType.java

            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public Locale getLocale() {
            if (locale == null) {
                if (getValue() == null) {
                    return Locale.ROOT;
                }
                locale = ComponentUtil.getFessConfig().getQueryLocaleFromName(getValue());
            }
            return locale;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. .github/workflows/stale-pr.yml

              stale-pr-label: stale
              stale-pr-message: >
                This pull request has been automatically marked as stale because it has not had recent activity.
                It will be closed in 14 days if no further activity occurs.
                If you don't want the stale bot to close it, then set a milestone for it.
              days-before-pr-close: 14
              close-pr-message: >
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Sep 04 22:13:29 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFilenameFilter.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    /**
     * Filter interface for SMB filename filtering.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top