Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 870 for _clear (0.06 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        def "can clean non-existing API changes"() {
            given:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. docs/features/caching.md

    which is designed to persist between app restarts.
    
    ```kotlin
    cache.delete()
    ```
     
    ## Pruning the Cache
    
    Pruning the entire Cache to clear space temporarily can be done using evictAll.
    
    ```kotlin
    cache.evictAll()
    ```
    
    Removing individual items can be done using the urls iterator.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

        }
    
        // DELETE /api/admin/failureurl/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            try {
                failureUrlService.deleteAll(failureUrlPager);
                failureUrlPager.clear();
                saveInfo(messages -> messages.addSuccessFailureUrlDeleteAll(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

                  return socket
                }
              },
            )
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        Thread.interrupted() // Clear interrupted state.
      }
    
      @Test
      fun interruptWritingRequestBody() {
        server.enqueue(MockResponse())
        server.start()
        val call =
          client.newCall(
            Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      @CanIgnoreReturnValue
      private Hasher update(int bytes) {
        try {
          update(scratch.array(), 0, bytes);
        } finally {
          Java8Compatibility.clear(scratch);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putByte(byte b) {
        update(b);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

        assertFalse(elementSet.remove(e3()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetClear() {
        getMultiset().elementSet().clear();
        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
        multimap.put("foo", 6);
    
        assertThrows(ConcurrentModificationException.class, () -> sublist.isEmpty());
      }
    
      public void testCreateFromMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        }
    
      val initialWindowSize: Int
        get() {
          val bit = 1 shl INITIAL_WINDOW_SIZE
          return if (bit and set != 0) values[INITIAL_WINDOW_SIZE] else DEFAULT_INITIAL_WINDOW_SIZE
        }
    
      fun clear() {
        set = 0
        values.fill(0)
      }
    
      operator fun set(
        id: Int,
        value: Int,
      ): Settings {
        if (id < 0 || id >= values.size) {
          return this // Discard unknown settings.
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

              public void checkAccess(Thread t) {
                throw new SecurityException();
              }
    
              @Override
              public void checkPermission(Permission perm) {
                // Do nothing so we can clear the security manager at the end
              }
            });
        try {
          final String oldName = Thread.currentThread().getName();
          Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    				return err
    			}
    		}
    		if subdir == "." {
    			break
    		}
    		subdir = filepath.Dir(subdir)
    		dir = path.Join(dir, "..")
    	}
    	return nil
    }
    
    // adbCopyGoroot clears deviceRoot for previous versions of GOROOT, GOPATH
    // and temporary data. Then, it copies relevant parts of GOROOT to the device,
    // including the go tool built for android.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top