Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,195 for enclosing (0.11 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. fastapi/encoders.py

        """
        Encodes a Decimal as int if there's no exponent, otherwise float
    
        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where an integer (but not int typed) is used. Encoding this as a float
        results in failed round-tripping between encode and parse.
        Our Id type is a prime example of this.
    
        >>> decimal_encoder(Decimal("1.0"))
        1.0
    
        >>> decimal_encoder(Decimal("1"))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.encoding");
            if (value != null) {
                this.oemEncoding = value;
            }
    
            value = props.getProperty("jcifs.smb.client.useUnicode");
            if (value != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                // Extract bucket name from host
                bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY;
                // Extract object name from path, removing leading slash if present and decoding URL encoding
                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

                }
    
                @Override
                public String getEncoding() {
                    return null;
                }
    
                @Override
                public void setEncoding(String encoding) {
                }
    
                @Override
                public String getParentUrl() {
                    return null;
                }
    
                @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle Unicode negotiation with OEM configuration")
        void testUnicodeNegotiationWithOEMConfig() {
            // Given - Configure context to use OEM encoding
            when(mockConfig.isUseUnicode()).thenReturn(false);
            int unicodeFlags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE;
            int oemFlags = NtlmFlags.NTLMSSP_NEGOTIATE_OEM;
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_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"
    	"encoding/gob"
    	"io"
    	"testing"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func BenchmarkDecodeVolInfoMsgp(b *testing.B) {
    	v := VolInfo{
    		Name:    "uuid",
    		Created: time.Now(),
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. internal/event/target/postgresql.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 target
    
    import (
    	"context"
    	"database/sql"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	_ "github.com/lib/pq" // Register postgres driver
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        @Mock
        private NetbiosName mockCallingName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            // Configure OEM encoding to avoid NullPointerException
            when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top