Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 1,693 for byte2 (0.04 sec)

  1. src/main/java/jcifs/SmbResourceException.java

        /**
         * Static factory for quota exceeded
         */
        public static SmbResourceException quotaExceeded(int errorCode, long used, long quota) {
            return new SmbResourceException(String.format("Quota exceeded: %d/%d bytes used", used, quota), errorCode, ResourceType.QUOTA,
                    quota - used, 1);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        /**
         * Formats a file size in bytes to a human-readable string with appropriate units.
         *
         * @param value the file size in bytes
         * @return formatted file size string (e.g., "1.5M", "2.3G", "512K")
         */
        public static String formatFileSize(final long value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  3. cmd/erasure-server-pool-decom.go

    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  fmt.Sprintf("decommission.%s (pool-id=%d)", d.String(), poolIdx),
    		Duration:  duration,
    		Path:      path,
    		Error:     errStr,
    		Bytes:     sz,
    	}
    }
    
    func (m *decomMetrics) log(d decomMetric, poolIdx int, paths ...string) func(z int64, err error) {
    	startTime := time.Now()
    	return func(sz int64, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String,
         *      byte[], boolean)
         */
        @Override
        public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                throws SmbException {
            if (host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/PathValidatorTest.java

            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
            assertThrows(SmbException.class, () -> {
                // Null byte will be caught
                validator.validatePath("//server\0/share");
            });
    
            // Test path with control characters in strict mode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. cmd/metacache-stream_test.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 cmd
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            NetworkInterfaceInfo original = new NetworkInterfaceInfo(testAddress, 1000);
            original.setInterfaceIndex(1);
            original.setCapability(Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS);
    
            byte[] encoded = original.encode();
            assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
    
            NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      private final NullPointerTester nullPointerTester = new NullPointerTester();
    
      public ClassSanityTester() {
        // TODO(benyu): bake these into ArbitraryInstances.
        setDefault(byte.class, (byte) 1);
        setDefault(Byte.class, (byte) 1);
        setDefault(short.class, (short) 1);
        setDefault(Short.class, (short) 1);
        setDefault(int.class, 1);
        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    	if crypto.SSEC.IsRequested(r.Header) {
    		key, err := ParseSSECustomerRequest(r)
    		if err == nil {
    			// Set EncryptFn to return SSEC key
    			opts.EncryptFn = func(baseKey string, data []byte) []byte {
    				return key
    			}
    		}
    	}
    	if _, ok := r.Header[xhttp.MinIOSourceReplicationRequest]; ok {
    		opts.ReplicationRequest = true
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. cmd/batch-handlers.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 cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/binary"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"maps"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
Back to top