Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 444 for shortp (0.05 sec)

  1. src/test/java/jcifs/pac/PacSignatureTest.java

            // Verify
            assertEquals(defaultType, pacSignature.getType());
            assertArrayEquals(checksum, pacSignature.getChecksum());
        }
    
        /**
         * Test constructor with malformed data (too short).
         */
        @Test
        void testConstructorMalformedData() {
            // Prepare data (only 2 bytes, less than an int)
            byte[] data = new byte[] { 0x01, 0x02 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Primitives.java

        add(primToWrap, wrapToPrim, float.class, Float.class);
        add(primToWrap, wrapToPrim, int.class, Integer.class);
        add(primToWrap, wrapToPrim, long.class, Long.class);
        add(primToWrap, wrapToPrim, short.class, Short.class);
        add(primToWrap, wrapToPrim, void.class, Void.class);
    
        PRIMITIVE_TO_WRAPPER_TYPE = Collections.unmodifiableMap(primToWrap);
        WRAPPER_TO_PRIMITIVE_TYPE = Collections.unmodifiableMap(wrapToPrim);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
            String originalId = originalRepository.getId();
    
            // simple checks first to short circuit processing below.
            if (WILDCARD.equals(pattern) || pattern.equals(originalId)) {
                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. cmd/local-locker_test.go

    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    		t.Run(fmt.Sprintf("%d-locks", locks), func(t *testing.T) {
    			// Number of readers per lock...
    			for _, readers := range []int{1, 10, 100} {
    				if locks > 1000 && readers > 1 {
    					continue
    				}
    				if testing.Short() && readers > 10 {
    					continue
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. container-tests/build.gradle.kts

      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
          "-Djdk.tracePinnedThreads=short",
        )
      }
    
      val javaToolchains = project.extensions.getByType<JavaToolchainService>()
      javaLauncher.set(javaToolchains.launcherFor {
        languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
      })
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
    
        @Override
        public final void writeShort(final int v) throws SmbException {
            Encdec.enc_uint16be((short) v, tmp, 0);
            write(tmp, 0, 2);
        }
    
        @Override
        public final void writeChar(final int v) throws SmbException {
            Encdec.enc_uint16be((short) v, tmp, 0);
            write(tmp, 0, 2);
        }
    
        @Override
        public final void writeInt(final int v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SecurityBlobTest.java

        }
    
        // Demonstrates observed equals() asymmetry when this is shorter than argument
        @Test
        @DisplayName("equals: this shorter but same prefix -> true (observed behavior)")
        void equals_thisShorterSamePrefix_true_dueToImplementation() {
            // Arrange: left shorter than right but with identical prefix
            SecurityBlob shorter = new SecurityBlob(new byte[] { 1, 2 });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        }
    
        // Optimization: check whether hostname is too short to match the pattern. hostName must be at
        // least as long as the pattern because asterisk must match the whole left-most label and
        // hostname starts with a non-empty label. Thus, asterisk has to match one or more characters.
        if (hostname.length < pattern.length) {
          return false // Hostname too short to match the pattern.
        }
    
        if ("*." == pattern) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UUID.java

                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid
         *            wrapped uuid object to copy values from
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                when(mockFile.getType()).thenReturn(SmbConstants.TYPE_FILESYSTEM);
    
                // Capture the ReadAndX request; throw to short-circuit network
                doAnswer(inv -> {
                    throw new SmbException("short-circuit");
                }).when(mockTree)
                        .send(any(jcifs.internal.CommonServerMessageBlockRequest.class),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top