Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 3,163 for rint (0.07 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

        }
    
        private Version getLatestInMinor(int major, int minor) {
            return groupByMajor.get(major).stream().filter(v -> v.getMinor() == minor).max(Version::compareTo).orElse(null);
        }
    
        private Version getLatestVersionByKey(Map<Integer, List<Version>> groupByMajor, int key) {
            return groupByMajor.getOrDefault(key, emptyList())
                .stream()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/entity/ChatMessage.java

             *
             * @return the source index
             */
            public int getIndex() {
                return index;
            }
    
            /**
             * Sets the source index.
             *
             * @param index the source index
             */
            public void setIndex(final int index) {
                this.index = index;
            }
    
            /**
             * Gets the source title.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

        public static void appendChildren(final NodeList children, final StringBuilder buf) {
            assertArgumentNotNull("children", children);
            assertArgumentNotNull("buf", buf);
    
            final int length = children.getLength();
            for (int i = 0; i < length; ++i) {
                appendNode(children.item(i), buf);
            }
        }
    
        /**
         * Appends the string representation of a {@link NamedNodeMap}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

             */
            public void setEee(final String eee) {
            }
    
            /**
             * @return int
             */
            public int getFff() {
                return fff_;
            }
    
            /**
             * @param fff
             */
            public void setFff(final int fff) {
                fff_ = fff;
            }
    
            /**
             * @return String
             */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/body-nested-models.md

    This would be useful if you want to receive keys that you don't already know.
    
    ---
    
    Another useful case is when you want to have keys of another type (e.g., `int`).
    
    That's what we are going to see here.
    
    In this case, you would accept any `dict` as long as it has `int` keys with `float` values:
    
    {* ../../docs_src/body_nested_models/tutorial009_py310.py hl[7] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. .teamcity/src/test/kotlin/SplitBucketTest.kt

     * limitations under the License.
     */
    
    data class Subproject(
        val name: String,
        val size: Int,
    )
    
    interface SubprojectBucket
    
    data class SmallSubprojectCombination(
        val subprojects: List<Subproject>,
    ) : SubprojectBucket
    
    data class LargeSubprojectSplit(
        val subproject: Subproject,
        val split: Int,
    ) : SubprojectBucket
    
    class SplitBucketTest {
        @Test
        fun testUnbalancedBuckets() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. tests/test_response_model_sub_types.py

    from pydantic import BaseModel
    
    
    class Model(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": list[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                throw new RuntimeException(uee.getMessage());
            }
        }
    
        static byte[] computeResponse(final byte[] responseKey, final byte[] serverChallenge, final byte[] clientData, final int offset,
                final int length) {
            final HMACT64 hmac = new HMACT64(responseKey);
            hmac.update(serverChallenge);
            hmac.update(clientData, offset, length);
            final byte[] mac = hmac.digest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt

     */
    internal data class BitString(
      val byteString: ByteString,
      /** 0-7 unused bits in the last byte. */
      val unusedBitsCount: Int,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + byteString.hashCode()
        result = 31 * result + unusedBitsCount
        return result
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. internal/grid/grid_types_test.go

    package grid
    
    //go:generate msgp -unexported -file=$GOFILE -tests=false -o=grid_types_msgp_test.go
    
    type testRequest struct {
    	Num    int
    	String string
    }
    
    type testResponse struct {
    	OrgNum    int
    	OrgString string
    	Embedded  testRequest
    }
    
    func newTestRequest() *testRequest {
    	return &testRequest{}
    }
    
    func newTestResponse() *testResponse {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.1K bytes
    - Click Count (0)
Back to Top