Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 1,819 for else (0.02 sec)

  1. cmd/generic-handlers_test.go

    		t.Run("", func(t *testing.T) {
    			contains := containsReservedMetadata(test.header)
    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    		})
    	}
    }
    
    var sseTLSHandlerTests = []struct {
    	URL               *url.URL
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. docs/debugging/reorder-disks/main.go

    	if err != nil {
    		return nil, err
    	}
    	exp := argP.Expand()
    
    	if node == "" {
    		for index, e := range exp {
    			result = append(result, localDisk{index: index, path: strings.Join(e, "")})
    		}
    	} else {
    		for index, e := range exp {
    			u, err := url.Parse(strings.Join(e, ""))
    			if err != nil {
    				return nil, err
    			}
    			if strings.Contains(u.Host, node) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                String input = item.getInput();
                if (input.contains("test") && input.contains("t1")) {
                    foundTab = true;
                } else if (input.contains("test") && input.contains("n2")) {
                    foundNewline = true;
                } else if (input.equals("test3")) {
                    foundTest3 = true;
                }
            }
    
            assertTrue("Should find tab item", foundTab);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Invokable.java

          TypeVariable<?>[] typeParams = declaringClass.getTypeParameters();
          if (typeParams.length > 0) {
            return Types.newParameterizedType(declaringClass, typeParams);
          } else {
            return declaringClass;
          }
        }
    
        @Override
        Type[] getGenericParameterTypes() {
          Type[] types = constructor.getGenericParameterTypes();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableTable.java

        if (table instanceof ImmutableTable) {
          @SuppressWarnings("unchecked")
          ImmutableTable<R, C, V> parameterizedTable = (ImmutableTable<R, C, V>) table;
          return parameterizedTable;
        } else {
          return copyOf(table.cellSet());
        }
      }
    
      static <R, C, V> ImmutableTable<R, C, V> copyOf(
          Iterable<? extends Cell<? extends R, ? extends C, ? extends V>> cells) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              // We were cancelled, it is possible that setFuture could have succeeded too.
              assertThat(numSuccessfulSetCalls.get()).isIn(Range.closed(1, 2));
            } else {
              assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
            }
          } else {
            assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
          }
          // reset for next iteration
          numSuccessfulSetCalls.set(0);
          finalResults.clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
            if (exception == null) {
              exception = e;
            } else {
              exception.addSuppressed(e);
            }
          }
        }
        if (exception != null) {
          // Normally this is a RuntimeException that doesn't need sneakyThrow.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

            TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384.javaName,
            TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256.javaName,
            TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256.javaName,
          )
        } else {
          assertThat(cipherSuites).containsExactly(
            TLS_AES_128_GCM_SHA256.javaName,
            TLS_AES_256_GCM_SHA384.javaName,
            TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384.javaName,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            Arrays.equals(expected, actual));
      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
          return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED;
        } else {
          return next >>> 1;
        }
      }
    
      public void testCrc32cStrideTable() {
        int next = CRC32C_GENERATOR_FLIPPED;
        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Optional;
    
    /**
     * A root directory of source files.
     * The sources may be Java main classes, test classes, resources or anything else identified by the scope.
     *
     * <h2>Default values</h2>
     * The properties in this interface are defined in the {@code <Source>} element of the
     * {@linkplain org.apache.maven.api.model.Model Maven project descriptor}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top