Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 658 for encodings (0.08 sec)

  1. cmd/acl-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 (
    	"encoding/xml"
    	"io"
    	"net/http"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            try {
                passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
            }
            int passwordLength = passwordBytes.length;
    
            // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM
            if (passwordLength > 14) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

         */
        public void setNotificationFilter(int notificationFilter) {
            this.notificationFilter = notificationFilter;
        }
    
        /**
         * Get the standard lease size for encoding/decoding
         * @return the standard lease context size
         */
        protected int getStandardLeaseSize() {
            // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields
            return 32;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        }
    
        /**
         * Encodes a wide string pointer in NDR format.
         *
         * @param buf the NDR buffer
         * @param str the string to encode (can be null)
         * @throws NdrException if encoding fails
         */
        private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException {
            if (str == null || str.isEmpty()) {
                buf.enc_ndr_long(0); // NULL pointer
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(24, SmbConstants.TID_OFFSET);
            assertEquals(32, SmbConstants.SMB1_HEADER_LENGTH);
        }
    
        @Test
        @DisplayName("Should define time and encoding constants")
        void testTimeAndEncodingConstants() {
            assertEquals(11644473600000L, SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601);
            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

        private static ASN1ObjectIdentifier testOid() {
            return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
        }
    
        private static byte[] oidDer() {
            // Full DER encoding of the OID
            try {
                return testOid().toASN1Primitive().getEncoded();
            } catch (java.io.IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-openid.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 (
    	"encoding/json"
    	"errors"
    	"net/http"
    	"sort"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const dummyRoleARN = "dummy-internal"
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. cmd/tier-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 (
    	"encoding/json"
    	"io"
    	"net/http"
    	"strconv"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/mux"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            context.setMaxCacheAge(60000L);
            context.setNotificationEnabled(true);
            context.setNotificationFilter(0x1F);
    
            // Test encoding and decoding roundtrip
            byte[] buffer = new byte[context.size()];
            int encoded = context.encode(buffer, 0);
            assertEquals(context.size(), encoded);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                assertThrows(IllegalArgumentException.class, () -> {
                    testRequest.setResponse(incompatibleResponse);
                });
            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("encode should validate size calculation")
            void testEncodeValidSize() {
                byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top