Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for 300 (0.01 sec)

  1. guava/src/com/google/common/collect/Comparators.java

       *
       * @param a first value to compare, returned if less than or equal to b.
       * @param b second value to compare.
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i>.
       * @since 30.0
       */
      public static <T extends Comparable<? super T>> T min(T a, T b) {
        return (a.compareTo(b) <= 0) ? a : b;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            @DisplayName("Should handle overflow correctly")
            void testConstructorOverflow() {
                // Given/When: Creating NdrShort with value > 255
                NdrShort ndrShort = new NdrShort(300);
    
                // Then: Value should be masked (300 & 0xFF = 44)
                assertEquals(44, ndrShort.value);
            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                dos.writeInt(Integer.reverseBytes(PacConstants.PRIVSVR_CHECKSUM));
                dos.writeInt(Integer.reverseBytes(16));
                dos.writeLong(Long.reverseBytes(300));
    
                // Add some padding
                for (int i = 0; i < 300; i++) {
                    dos.writeByte(0);
                }
    
                return baos.toByteArray();
            } catch (IOException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/BigDecimalMath.java

    import java.math.BigDecimal;
    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on {@link BigDecimal} that is not covered by its built-in methods.
     *
     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. docs/debugging/inspect/go.sum

    golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
    golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
    golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
    golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 21:54:16 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            serverData.sessionKey = 0xABCDEF;
            serverData.capabilities = SmbConstants.CAP_UNICODE;
            serverData.serverTime = new Date(1672531200000L).getTime(); // 2023-01-01 00:00:00 GMT
            serverData.serverTimeZone = 300;
            serverData.encryptionKeyLength = 8;
            response.byteCount = 10;
            serverData.oemDomainName = "TEST_DOMAIN";
    
            String result = response.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getPackaging()).thenReturn("maven-plugin");
            when(project.getName()).thenReturn("Apache Maven Project Info Reports Plugin");
            when(project.getVersion()).thenReturn("3.0.0-SNAPSHOT");
            when(event.getProject()).thenReturn(project);
            when(project.getFile()).thenReturn(new File(basedir, "pom.xml"));
            when(project.getBasedir()).thenReturn(basedir);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

            // Test that modifications persist (this would fail with the old implementation)
            connectedPlugin.setVersion("3.0.0-M7");
    
            Plugin pluginAfterChange = project.getPlugin("org.apache.maven.plugins:maven-surefire-plugin");
            assertEquals(
                    "3.0.0-M7",
                    pluginAfterChange.getVersion(),
                    "Plugin modifications should persist - this proves the fix is working");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 12:50:13 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. docs_src/body_fields/tutorial001_py310.py

    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 523 bytes
    - Viewed (0)
  10. docs_src/body_fields/tutorial001_py39.py

    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 561 bytes
    - Viewed (0)
Back to top