Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 3,743 for shield (0.04 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .getInputStream()
        assertThat(inputStream!!.read()).isEqualTo('B'.code)
      }
    
      /**
       * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
      fun throttleRequest() {
        assumeNotWindows()
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertNotNull(generator);
        }
    
        public void test_getName() {
            // Test getName and setName methods
            generator = new TestThumbnailGenerator();
    
            // Default name should be null
            assertNull(generator.getName());
    
            // Set and get name
            generator.setName("test-generator");
            assertEquals("test-generator", generator.getName());
    
            // Change name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

    import java.util.concurrent.RunnableFuture;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link RunnableFuture} that also implements the {@link ListenableFuture} interface.
     *
     * <p>This should be used in preference to {@link ListenableFutureTask} when possible for
     * performance reasons.
     */
    @GwtCompatible
    class TrustedListenableFutureTask<V extends @Nullable Object> extends FluentFuture.TrustedFuture<V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        /**
         * Returns the generic type of the specified field for the given index.
         *
         * @param field the field to analyze
         * @param index the index of the generic type
         * @return the generic type class, or null if not found
         */
        public static Type getGenericParameter(final java.lang.reflect.Field field, final int index) {
            return getGenericParameter(field.getGenericType(), index);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      while (c != Any::class.java) {
        try {
          val field = c.getDeclaredField(fieldName)
          field.isAccessible = true
          val value = field.get(instance)
          return if (!fieldType.isInstance(value)) null else fieldType.cast(value)
        } catch (_: NoSuchFieldException) {
        }
    
        c = c.superclass
      }
    
      // Didn't find the field we wanted. As a last gasp attempt,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            notifyChange = new NtTransNotifyChange(mockConfig, fid, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] dst = new byte[10];
    
            notifyChange.writeSetupWireFormat(dst, 0);
    
            // Should write as 0xFFFF (65535 in unsigned)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
        oldDelegate.clearDeadline()
        oldDelegate.clearTimeout()
      }
    
      /**
       * The response body from a CONNECT should be empty, but if it is not then we should consume it
       * before proceeding.
       */
      fun skipConnectBody(response: Response) {
        val contentLength = response.headersContentLength()
        if (contentLength == -1L) return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description></description>
            </field>
            <field xml.tagName="role-hint">
              <name>roleHint</name>
              <type>String</type>
              <description></description>
            </field>
            <field xml.tagName="field-name">
              <name>fieldName</name>
              <required>true</required>
              <type>String</type>
              <description>The field name which has this requirement.</description>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top