Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 584 for Goff (0.47 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (length > max_recv)
                throw new IOException("Unexpected fragment length: " + length);
    
            while (off < length) {
                off += in.readDirect(buf, off, length - off);
            }
        }
        public void close() throws IOException {
            state = 0;
            if (out != null)
                out.close();
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  2. internal/config/bool-flag_test.go

    )
    
    // Test BoolFlag.String()
    func TestBoolFlagString(t *testing.T) {
    	var bf BoolFlag
    
    	testCases := []struct {
    		flag           BoolFlag
    		expectedResult string
    	}{
    		{bf, "off"},
    		{BoolFlag(true), "on"},
    		{BoolFlag(false), "off"},
    	}
    
    	for _, testCase := range testCases {
    		str := testCase.flag.String()
    		if testCase.expectedResult != str {
    			t.Fatalf("expected: %v, got: %v", testCase.expectedResult, str)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            }
    
            while ( off < length ) {
                int r = this.handle.recv(buf, off, length - off);
                if ( r == 0 ) {
                    throw new IOException("Unexpected EOF");
                }
                off += r;
            }
            return off;
        }
    
    
        @Override
        public void close () throws IOException {
            super.close();
            try {
                this.handle.close();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jan 26 11:51:07 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LineBufferTest.java

                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = Math.min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

          bufs.add(buf);
          int off = 0;
          while (off < buf.length) {
            // always OK to fill buf; its size plus the rest of bufs is never more than MAX_ARRAY_LEN
            int r = in.read(buf, off, buf.length - off);
            if (r == -1) {
              return combineBuffers(bufs, totalLen);
            }
            off += r;
            totalLen += r;
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. .github/workflows/mint/nginx.conf

            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            this.b = b;
            this.off = off;
            dataLength = len;
            command = SMB_COM_WRITE_ANDX;
        }
    
        void setParam( int fid, long offset, int remaining,
                        byte[] b, int off, int len ) {
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            dataLength = len;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                file.log.println( "write: fid=" + file.fid + ",off=" + off + ",len=" + len );
    
            int w;
            do {
                w = len > writeSize ? writeSize : len;
                if( useNTSmbs ) {
                    reqx.setParam( file.fid, fp, len - w, b, off, w );
    if ((flags & 1) != 0) {
        reqx.setParam( file.fid, fp, len, b, off, w );
        reqx.writeMode = 0x8;
    } else {
        reqx.writeMode = 0;
    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        @Override
        public int recv ( byte[] buf, int off, int len ) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
    
        @Override
        public void send ( byte[] buf, int off, int length ) throws IOException {
            getOutput().writeDirect(buf, off, length, 1);
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbPipeHandleInternal#getPipeType()
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/TestWriter.java

        flush(); // flush write to TestOutputStream to get its behavior
      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
Back to top