Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 746 for reset (0.02 sec)

  1. cmd/peer-rest-server.go

    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    				peersLogOnceIf(ctx, err, "event: Encode failed")
    				continue
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    		}
    	}
    }
    
    // TraceHandler sends http trace messages back to peer rest client
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            lenient().when(cifsContext.getConfig()).thenReturn(config);
        }
    
        @AfterEach
        void teardown() {
            // No global state to reset beyond mocks
        }
    
        static Stream<String> wildcardProvider() {
            return Stream.of(null, "", "*");
        }
    
        @ParameterizedTest
        @MethodSource("wildcardProvider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDCacheImplTest.java

                }
                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3
    
            // Verify cache behavior - after reset, spying on the same cache won't work
            // Since we're working with internal state, we'll verify the side effects
            assertEquals("DOM", s1.getDomainName());
            assertEquals("user1", s1.getAccountName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            final NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
            nb.deferred = this.deferred;
            return nb;
        }
    
        /**
         * Resets the buffer position to the start.
         */
        public void reset() {
            this.index = this.start;
            this.length = 0;
            this.deferred = this;
        }
    
        /**
         * Returns the current index position in the buffer.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

            return new ValidationStats(totalValidations.get(), failedValidations.get(), bufferOverflowsPrevented.get(),
                    integerOverflowsPrevented.get());
        }
    
        /**
         * Reset statistics
         */
        public void resetStats() {
            totalValidations.set(0);
            failedValidations.set(0);
            bufferOverflowsPrevented.set(0);
            integerOverflowsPrevented.set(0);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                if (getType() != TYPE_WORKGROUP) {
                    break;
                }
                req.subCommand = (byte) SmbComTransaction.NET_SERVER_ENUM3;
                req.reset(0, ((NetServerEnum2Response) resp).lastName);
                resp.reset();
            } while (more);
        }
    
        void doFindFirstNext(final ArrayList list, final boolean files, final String wildcard, final int searchAttributes,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            } else {
              assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
            }
          } else {
            assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
          }
          // reset for next iteration
          numSuccessfulSetCalls.set(0);
          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // setFuture and cancel() interact in more complicated ways than the other setters.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        connection.writePingAndAwaitPong() // Ensure the GO_AWAY that resets stream2 has been received.
        val sink1 = stream1.sink.buffer()
        val sink2 = stream2.sink.buffer()
        sink1.writeUtf8("abc")
        assertFailsWith<IOException> {
          sink2.writeUtf8("abc")
          sink2.flush()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream was reset: REFUSED_STREAM")
        }
        sink1.writeUtf8("def")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  9. doc/godebug.md

    the Go 1.23 behavior.
    
    ### Go 1.23
    
    Go 1.23 changed the channels created by package time to be unbuffered
    (synchronous), which makes correct use of the [`Timer.Stop`](/pkg/time/#Timer.Stop)
    and [`Timer.Reset`](/pkg/time/#Timer.Reset) method results much easier.
    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                        final String unc = "\\\\" + tconHostName + '\\' + this.share;
    
                        /*
                         * IBM iSeries doesn't like specifying a service. Always reset
                         * the service to whatever was determined in the constructor.
                         */
                        final String svc = this.service0;
    
                        /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top