Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 402 for thelong (0.14 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static int divide(int dividend, int divisor) {
        return (int) (toLong(dividend) / toLong(divisor));
      }
    
      /**
       * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedInts.java

       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static int divide(int dividend, int divisor) {
        return (int) (toLong(dividend) / toLong(divisor));
      }
    
      /**
       * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    		}
    		if len(condition.Reason) > maxReasonLen {
    			allErrs = append(allErrs, field.TooLong(fldPath.Child("reason"), condition.Reason, maxReasonLen))
    		}
    	}
    
    	if len(condition.Message) > maxMessageLen {
    		allErrs = append(allErrs, field.TooLong(fldPath.Child("message"), condition.Message, maxMessageLen))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setQueryTime(DfTypeUtil.toLong(source.get("queryTime")));
                result.setReferer(DfTypeUtil.toString(source.get("referer")));
                result.setRequestedAt(toLocalDateTime(source.get("requestedAt")));
                result.setResponseTime(DfTypeUtil.toLong(source.get("responseTime")));
                result.setRoles(toStringArray(source.get("roles")));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/KtStaticProjectStructureProvider.kt

    /**
     * A [ProjectStructureProvider] with a static module structure.
     *
     * Static project structure providers may still create [KtNotUnderContentRootModule]s on the fly, because files which don't belong to any
     * of the pre-registered modules are by definition not part of the *static* module structure.
     */
    public abstract class KtStaticProjectStructureProvider : ProjectStructureProvider() {
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jul 31 15:58:00 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         */
        fun maxAge(
          maxAge: Int,
          timeUnit: TimeUnit,
        ) = apply {
          require(maxAge >= 0) { "maxAge < 0: $maxAge" }
          val maxAgeSecondsLong = timeUnit.toSeconds(maxAge.toLong())
          this.maxAgeSeconds = maxAgeSecondsLong.commonClampToInt()
        }
    
        /**
         * Accept cached responses that have exceeded their freshness lifetime by up to `maxStale`. If
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/DurationCodec.kt

            // on Java 8
            writeLong(value.seconds)
            writeSmallInt(value.nano)
        }
    
        override suspend fun ReadContext.decode(): Duration =
            Duration.ofSeconds(readLong(), readSmallInt().toLong())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

        operator.read(0, buffer, data.size.toLong())
        assertThat(buffer.readByteString()).isEqualTo(data)
      }
    
      @Test
      fun largeWrite() {
        val data = randomByteString(1000000)
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
        val buffer = Buffer().write(data)
        operator.write(0, buffer, data.size.toLong())
        assertThat(snapshot()).isEqualTo(data)
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top