Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,634 for byteEq (0.1 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex() throws Exception {
            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            this.document = document;
            this.model = model;
            this.groovyVersion = groovyVersion;
            this.javaVersion = javaVersion;
            primitiveTypes.add("boolean");
            primitiveTypes.add("byte");
            primitiveTypes.add("short");
            primitiveTypes.add("int");
            primitiveTypes.add("long");
            primitiveTypes.add("char");
            primitiveTypes.add("float");
            primitiveTypes.add("double");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
      }
    
      /** A request body that slowly trickles bytes, expecting to not complete. */
      private object SlowRequestBody : RequestBody() {
        override fun contentType(): MediaType? = null
    
        override fun writeTo(sink: BufferedSink) {
          for (i in 0 until 50) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class CharSink {
    
      /** Constructor for use by subclasses. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/uk/docs/python-types.md

    ### Прості типи
    
    Ви можете оголошувати усі стандартні типи у Python, не тільки `str`.
    
    Ви можете використовувати, наприклад:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial005.py!}
    ```
    
    ### Generic-типи з параметрами типів
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. docs/zh/docs/python-types.md

    ```
    
    ## 声明类型
    
    你刚刚看到的就是声明类型提示的主要场景。用于函数的参数。
    
    这也是你将在 **FastAPI** 中使用它们的主要场景。
    
    ### 简单类型
    
    不只是 `str`,你能够声明所有的标准 Python 类型。
    
    比如以下类型:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial005.py!}
    ```
    
    ### 嵌套类型
    
    有些容器数据结构可以包含其他的值,比如 `dict`、`list`、`set` 和 `tuple`。它们内部的值也会拥有自己的类型。
    
    你可以使用 Python 的 `typing` 标准库来声明这些类型以及子类型。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lock
    
    import (
    	"bytes"
    	"context"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/textproto"
    	"strings"
    	"time"
    
    	"github.com/beevik/ntp"
    	"github.com/minio/minio/internal/amztime"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. cmd/last-minute.go

    	}
    	return 0
    }
    
    // asTimedAction returns the element as a madmin.TimedAction.
    func (a AccElem) asTimedAction() madmin.TimedAction {
    	return madmin.TimedAction{AccTime: uint64(a.Total), Count: uint64(a.N), Bytes: uint64(a.Size)}
    }
    
    // lastMinuteLatency keeps track of last minute latency.
    type lastMinuteLatency struct {
    	Totals  [60]AccElem
    	LastSec int64
    }
    
    // Merge data of two lastMinuteLatency structure
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              val bytes = response.body.byteStream()
              assertThat(bytes.read()).isEqualTo('a'.code)
              assertThat(bytes.read()).isEqualTo('b'.code)
              assertThat(bytes.read()).isEqualTo('c'.code)
    
              // This request will share a connection with 'A' cause it's all done.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
            assertEquals(32L, MemoryUtil.sizeOf(new Date()));
            assertEquals(80L, MemoryUtil.sizeOf(LocalDateTime.now()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top