Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 655 for encodings (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/data-scanner_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 (
    	"encoding/xml"
    	"fmt"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/amztime"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val derReader = DerReader(buffer)
    
        assertFailsWith<ProtocolException> {
          derReader.read("test") {}
        }.also { expected ->
          assertThat(expected.message).isEqualTo("invalid encoding for length")
        }
      }
    
      @Test fun `decode length not encoded in shortest form possible`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10000001)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    func (b *Buffer) WriteByte(c byte) error {
    	b.lastRead = opInvalid
    	m, ok := b.tryGrowByReslice(1)
    	if !ok {
    		m = b.grow(1)
    	}
    	b.buf[m] = c
    	return nil
    }
    
    // WriteRune appends the UTF-8 encoding of Unicode code point r to the
    // buffer, returning its length and an error, which is always nil but is
    // included to match [bufio.Writer]'s WriteRune. The buffer is grown as needed;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top