Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for EOF (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if (read(tmp, 0, 1) < 0) {
                throw new SmbException("EOF");
            }
            return tmp[0] != (byte) 0x00;
        }
    
        @Override
        public final byte readByte() throws SmbException {
            if (read(tmp, 0, 1) < 0) {
                throw new SmbException("EOF");
            }
            return tmp[0];
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. ci/official/utilities/code_check_full.bats

    @platforms//os
    @ml_dtypes_py//ml_dtypes
    @ruy//
    @rules_java_builtin//toolchains
    @rules_ml_toolchain//
    @rules_python//
    @stablehlo//stablehlo/experimental
    EOF
    
      # grep patterns for targets which are allowed to be extra licenses
      cat > $BATS_TEST_TMPDIR/allowed_to_be_extra <<EOF
    @local_xla//third_party/mkl
    @local_xla//third_party/mkl_dnn
    @absl_py//
    @bazel_tools//src
    @bazel_tools//platforms
    @bazel_tools//tools
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 06 20:43:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. ci/official/containers/ml_build_arm64/setup.python.sh

    if [[ ${VERSION} == "python3.13-nogil" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    EOF
    elif [[ ${VERSION} == "python3.13" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    EOF
    else
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    EOF
    fi
    
    if [[ ${VERSION} == "python3.14" ]]; then
      if [[ ! -d Python-3.14.0rc1 ]]; then
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 19:14:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. cmd/object_api_suite_test.go

    }
    
    // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error.
    type testOneByteReadEOF struct {
    	eof  bool
    	data []byte
    }
    
    func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, io.EOF
    }
    
    // Return pointer to testOneByteReadNoEOF{}
    func newTestReaderNoEOF(data []byte) io.Reader {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    				// We have enough and we have more.
    				// Do not return io.EOF
    				if resCh != nil {
    					resErr = nil
    					select {
    					case resCh <- results:
    					case <-ctx.Done():
    					}
    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  6. ci/official/containers/ml_build/setup.python.sh

      cat >pythons.txt <<EOF
    $VERSION
    EOF
    elif [[ ${VERSION} == "python3.14" || ${VERSION} == "python3.13" || ${VERSION} == "python3.12" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    EOF
    else
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    $VERSION-distutils
    EOF
    fi
    
    /setup.packages.sh pythons.txt
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 02:44:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. cmd/perf-tests.go

    	n.firstToDisconnect = time.Time{}
    }
    
    // Reader to read random data.
    type netperfReader struct {
    	n   uint64
    	eof chan struct{}
    	buf []byte
    }
    
    func (m *netperfReader) Read(b []byte) (int, error) {
    	select {
    	case <-m.eof:
    		return 0, io.EOF
    	default:
    	}
    	n := copy(b, m.buf)
    	atomic.AddUint64(&m.n, uint64(n))
    	return n, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                assertThrows(IOException.class, () -> handle.doSendReceiveFragment(buf, 0, 50, inB));
            }
    
            @Test
            @DisplayName("Should throw IOException on unexpected EOF")
            void testDoSendReceiveFragment_UnexpectedEOF() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[50];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. .github/workflows/update-jdks.yml

            # https://github.com/gradle/gradle-private/issues/4518
            run: |
              cat << 'EOF' > .teamcity/jdks.yaml.tmp
              # To verify the change, run the build with:
              # @bot-gradle test ReadyForNightly
              # ```
              # stopGradleDaemons=true
              # ```
              EOF
              # Append everything from "version:" onwards
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Aug 12 07:00:55 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

        void testReadEOF() throws SmbException {
            // Mock the read operation to return EOF
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
                    SmbComReadAndXResponse response = invocation.getArgument(1);
                    response.dataLength = 0; // EOF
                    return null;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top