Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for if (0.11 sec)

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

        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
                        if( cache[i] != null ) {
                            buf = (byte[])cache[i];
                            cache[i] = null;
                            freeBuffers--;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/BufferCache.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    /**
     * Internal API for managing reusable buffers
     * 
     * @author mbechler
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
Back to top