Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 809 for clears (0.42 sec)

  1. src/test/java/jcifs/context/SingletonContextTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    
    class SingletonContextTest {
    
        private static final Logger log = LoggerFactory.getLogger(SingletonContextTest.class);
    
        // Use reflection to reset the singleton instance between tests
        @BeforeEach
        @AfterEach
        void resetSingleton() {
            try {
                Field instance = SingletonContext.class.getDeclaredField("INSTANCE");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_gen.go

    				err = msgp.WrapError(err, "TargetsMap")
    				return
    			}
    			if z.TargetsMap == nil {
    				z.TargetsMap = make(map[string]TargetReplicationResyncStatus, zb0002)
    			} else if len(z.TargetsMap) > 0 {
    				clear(z.TargetsMap)
    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "TargetsMap")
    					return
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 59.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dataclasses/test_tutorial002.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_get_item(client: TestClient):
        response = client.get("/items/next")
        assert response.status_code == 200
        assert response.json() == {
            "name": "Island In The Moon",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

        return new EntrySetView();
      }
    
      @WeakOuter
      private final class EntrySetView extends AbstractSet<Entry<K, V>> {
        @Override
        public int size() {
          return CompactHashMap.this.size();
        }
    
        @Override
        public void clear() {
          CompactHashMap.this.clear();
        }
    
        @Override
        public Iterator<Entry<K, V>> iterator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                    assertEquals(0, bytesWritten, "Failed at iteration " + i);
                }
            }
        }
    
        @Nested
        @DisplayName("Error handling tests")
        class ErrorHandlingTests {
    
            @Test
            @DisplayName("Should provide clear error message for invalid structure size")
            void testClearErrorMessage() {
                // Given
                byte[] buffer = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

         */
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        /**
         * Destroys the web API filter and cleans up resources.
         */
        @Override
        public void destroy() {
            // nothing
        }
    
        /**
         * Filters HTTP requests and processes them through appropriate web API managers.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        }
        return true;
      }
    
      @Override
      public final void clear() {
        backingMap.clear();
        size = 0;
      }
    
      /**
       * Skeleton of per-entry iterators. We could push this down and win a few bytes, but it's complex
       * enough it's not especially worth it.
       */
      abstract class Itr<T extends @Nullable Object> implements Iterator<T> {
        int entryIndex = backingMap.firstIndex();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
        assertThat(requestedUris).containsExactly(*expectedUris)
        requestedUris.clear()
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
        val socketAddress = sa as InetSocketAddress
        failures.add(format("%s %s:%d %s", uri, socketAddress, socketAddress.port, ioe.message!!))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

            If you need help with Gradle or have a usage question, please reach [our community](http://help.gradle.org/) instead of creating an issue.
    
            If you found a clear typo, please open a PR with a fix instead of opening an issue.
    
      - type: dropdown
        id: issue-type
        attributes:
          label: Issue type
          options:
            - Wrong or misleading information
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jan 15 10:01:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top