Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Major (0.02 sec)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
          if (conscryptVersion.major() != major) {
            return conscryptVersion.major() > major
          }
    
          if (conscryptVersion.minor() != minor) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcBinding.java

        }
    
        /**
         * @return the uuid
         */
        UUID getUuid() {
            return this.uuid;
        }
    
        /**
         * @return the major
         */
        int getMajor() {
            return this.major;
        }
    
        /**
         * @return the minor
         */
        int getMinor() {
            return this.minor;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
          if (conscryptVersion.major() != major) {
            return conscryptVersion.major() > major
          }
    
          if (conscryptVersion.minor() != minor) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessVersion.java

        /**
         * Gets the numeric version value.
         *
         * @return the version value
         */
        public int getValue() {
            return version;
        }
    
        /**
         * Gets the major version number.
         *
         * @return the major version
         */
        public int getMajorVersion() {
            return (version >> 16) & 0xFFFF;
        }
    
        /**
         * Gets the minor version number.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/JvmUtil.java

                }
                return null;
            }).filter(s -> s != null).toArray(n -> new String[n]);
        }
    
        /**
         * Gets the major version number of the current Java runtime.
         * For Java 8 and below, returns the minor version (e.g., 8 for Java 1.8).
         * For Java 9 and above, returns the major version (e.g., 11 for Java 11).
         *
         * @return the Java version number, defaults to 8 if version cannot be determined
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

            INTERFACES.put(name, syntax);
        }
    
        String proto;
        String server;
        String endpoint = null;
        HashMap options = null;
        UUID uuid = null;
        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially.");
            assertNull(dcerpcBinding.getUuid(), "UUID should be null initially.");
            assertEquals(0, dcerpcBinding.getMajor(), "Major version should be 0 initially.");
            assertEquals(0, dcerpcBinding.getMinor(), "Minor version should be 0 initially.");
        }
    
        @Test
        void testSetOptionEndpointValidPipe() throws DcerpcException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            byte[] nameBytes = serverName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 15));
            bufferIndex += 16;
    
            // Write version major (1 byte)
            buffer[bufferIndex++] = (byte) versionMajor;
    
            // Write version minor (1 byte)
            buffer[bufferIndex++] = (byte) versionMinor;
    
            // Write type (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    	} else {
    		major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8])
    	}
    	if major > xlVersionMajor {
    		return buf[8:], major, minor, fmt.Errorf("xlMeta: unknown major version %d found", major)
    	}
    
    	return buf[8:], major, minor, nil
    }
    
    func isXL2V1Format(buf []byte) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  10. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(this.call_id);
        }
    
        void decode_header(final NdrBuffer buf) throws NdrException {
            /* RPC major / minor version */
            if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0) {
                throw new NdrException("DCERPC version not supported");
            }
            this.ptype = buf.dec_ndr_small();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top