Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,855 for Less (0.03 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          }
        }
    
        @Override
        public int hashCode() {
          return 0;
        }
      }
    
      static class BadEquals {
    
        public BadEquals() {} // ignored by testEquals() since it has less parameters.
    
        public static BadEquals create(@SuppressWarnings("unused") @Nullable String s) {
          return new BadEquals();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    		if sr.pos >= holeEnd && len(sr.sp) > 1 {
    			sr.sp = sr.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == io.EOF:
    		return n, errMissData // Less data in dense file than sparse file
    	case err != nil:
    		return n, err
    	case sr.logicalRemaining() == 0 && sr.physicalRemaining() > 0:
    		return n, errUnrefData // More data in dense file than sparse file
    	case finished:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        data.write("8a7e007e".decodeHex())
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Control frame must be less than 125B.")
        }
      }
    
      @Test fun clientSimpleHello() {
        data.write("810548656c6c6f".decodeHex()) // Hello
        clientReader.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertNotNull(output1);
            assertTrue(output1.contains("00000:"));
            assertTrue(output1.contains(" 00 01 02 03"));
            assertTrue(output1.contains("|"));
    
            // Test with less than 16 bytes
            baos.reset();
            byte[] data2 = { 0x41, 0x42, 0x43, 0x44 }; // "ABCD"
            Hexdump.hexdump(ps, data2, 0, 4);
            String output2 = baos.toString();
    
            assertNotNull(output2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * {@return the project artifacts as immutable list}. Elements are the project POM artifact and the artifact
         * produced by this project build, if applicable. Hence, the returned list may have one or two elements
         * (never less than 1, never more than 2), depending on project packaging.
         * <p>
         * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends
         * solely on the project packaging.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 27 11:07:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. docs/en/docs/index.md

    * **Intuitive**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging.
    * **Easy**: Designed to be easy to use and learn. Less time reading docs.
    * **Short**: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            void testDoReceiveFragment_BufferTooSmall() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[50]; // Less than maxRecv (4280)
    
                assertThrows(IllegalArgumentException.class, () -> handle.doReceiveFragment(buf));
            }
    
            @Test
            @DisplayName("Should throw IOException for invalid PDU header")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.h

    // Platform-specific implementation to return an unused port. (This should used
    // in tests only.)
    TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void);
    
    // Fast path method that makes constructing a single scalar tensor require less
    // overhead and copies.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar(
        TF_DataType data_type, void* data, size_t len, TF_Status* status);
    
    // Specify the server_def that enables collective ops.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

        /** The operator to read and write the shared file. Null if this source is closed. */
        private var fileOperator: FileOperator? = FileOperator(file!!.channel)
    
        /** The next byte to read. This is always less than or equal to [upstreamPos]. */
        private var sourcePos = 0L
    
        /**
         * Selects where to find the bytes for a read and read them. This is one of three sources.
         *
         * ## Upstream
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top