Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 693 for resetid (0.05 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        for (int i = 0; i < 10; i++) {
          assertThat(cache.getUnchecked(KEY_PREFIX + i)).isEqualTo(VALUE_PREFIX + i);
        }
    
        for (int i = 0; i < 10; i++) {
          loader.reset();
          assertThat(cache.getUnchecked(KEY_PREFIX + i)).isEqualTo(VALUE_PREFIX + i);
          assertWithMessage("Creator should not have been called @#%s", i)
              .that(loader.wasCalled())
              .isFalse();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  2. .github/workflows/upgrade-to-latest-wrapper.yml

            run: |
              set -eu
              git config --global user.email "******@****.***"
              git config --global user.name "GitHub Action"
    
              git reset origin/master --hard
    
              ./gradlew wrapper --gradle-version=nightly
              ./gradlew wrapper
    
              if ! git diff --quiet; then
                ./gradlew -v
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            }
    
            // Should have some state
            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
            assertTrue(stats.getActiveAccounts() > 0);
    
            // Reset
            rateLimiter.reset();
    
            // State should be cleared
            stats = rateLimiter.getStats();
            assertEquals(0, stats.getTotalBlocked());
            assertEquals(0, stats.getAccountsLocked());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/NetServerEnumIterator.java

                    return itm;
                }
            }
    
            if (this.workgroup && this.response.getStatus() == WinError.ERROR_MORE_DATA) {
                this.request.reset(0, this.response.getLastName());
                this.response.reset();
                this.request.setSubCommand(SmbComTransaction.NET_SERVER_ENUM3);
                this.treeHandle.send(this.request, this.response);
                checkStatus();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

                return null;
            }).when(transport).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class));
    
            session.send(req, resp);
            // Response state should be reset
            assertFalse(resp.received, "Response flag should be reset");
            // transport.send should be called at least once (for sessionSetup and the actual request)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. internal/s3select/csv/record.go

    func (r *Record) Set(name string, value *sql.Value) (sql.Record, error) {
    	r.columnNames = append(r.columnNames, name)
    	r.csvRecord = append(r.csvRecord, value.CSVString())
    	return r, nil
    }
    
    // Reset data in record.
    func (r *Record) Reset() {
    	if len(r.columnNames) > 0 {
    		r.columnNames = r.columnNames[:0]
    	}
    	if len(r.csvRecord) > 0 {
    		r.csvRecord = r.csvRecord[:0]
    	}
    	clear(r.nameIndexMap)
    }
    
    // Clone the record.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
            verify(req, atLeastOnce()).reset();
            verify(resp, atLeastOnce()).reset();
            // Verify disconnect was called on retry
            verify(c, atLeastOnce()).disconnect(eq(true));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                    if (fileId != null) {
                        capturedFileId[0] = fileId[0];
                    }
                }
            };
    
            // When
            byte[] testId = new byte[] { 42 };
            anonymousImpl.setFileId(testId);
    
            // Then
            assertEquals(42, capturedFileId[0], "Anonymous implementation should work correctly");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals("", blob.toString(), "toString() should be empty for empty buffer");
        }
    
        // Ensures set(null) resets the buffer to empty and does not NPE
        @Test
        @DisplayName("set(null) resets to empty")
        void set_null_resetsToEmpty() {
            // Arrange
            SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 });
    
            // Act
            blob.set(null);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exentity/Group.java

        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Group [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top