Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 5,808 for What (0.02 seconds)

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

              assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
              assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual)
                  .that(actual < 0)
                  .isTrue();
            } else {
              assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual)
                  .that(actual > 0)
                  .isTrue();
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        }
    
        @Test
        @DisplayName("Available returns underlying stream available when no message buffered")
        void availableReturnsUnderlyingWhenNoMessage() throws IOException {
            // Mock input stream that reports available bytes
            InputStream mockIn = mock(InputStream.class);
            when(mockIn.available()).thenReturn(42);
    
            SocketInputStream sis = new SocketInputStream(mockIn);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"internal/buildcfg"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // A simple in-out test: Do we print what we parse?
    
    func setArch(goarch string) (*arch.Arch, *obj.Link) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

    import static org.apache.maven.cling.invoker.CliUtils.toMavenExecutionRequestLoggingLevel;
    import static org.apache.maven.cling.invoker.CliUtils.toProperties;
    
    /**
     * Lookup invoker implementation, that boots up DI container.
     *
     * @param <C> The context type.
     */
    public abstract class LookupInvoker<C extends LookupContext> implements Invoker {
        protected final Lookup protoLookup;
    
        @Nullable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

              <type>String</type>
              <description>
                Specifies that this profile will be activated when a matching JDK is detected.
              </description>
            </field>
            <field>
              <name>os</name>
              <version>1.0.0+</version>
              <description>
                Specifies that this profile will be activated when matching OS attributes are detected.
              </description>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y)
                .that(Doubles.compare(x, y))
                .isEqualTo(Double.compare(x, y));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

      public static int hashCode(int value) {
        return value;
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code value}, if possible.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Use {@link
       * Math#toIntExact(long)} instead, but be aware that that method throws {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  9. src/bufio/bufio_test.go

    		// so we leave it out. It should be covered via
    		// the ReadSlice test since ReadLine simply calls
    		// ReadSlice, and it's that function that handles
    		// the last byte.
    	}
    
    	// Try all readers with UnreadByte.
    	for rno, read := range readers {
    		// Some input data that is longer than the minimum reader buffer size.
    		const n = 10
    		var buf bytes.Buffer
    		for i := 0; i < n; i++ {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y));
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
Back to Top