- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for Reset (0.04 sec)
-
src/bytes/buffer.go
func (b *Buffer) Truncate(n int) { if n == 0 { b.Reset() return } b.lastRead = opInvalid if n < 0 || n > b.Len() { panic("bytes.Buffer: truncation out of range") } b.buf = b.buf[:b.off+n] } // Reset resets the buffer to be empty, // but it retains the underlying storage for use by future writes. // Reset is the same as [Buffer.Truncate](0). func (b *Buffer) Reset() { b.buf = b.buf[:0] b.off = 0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Errorf("buf = %q; want foo", buf) } r.Reset(strings.NewReader("bar bar")) checkAll(r, "bar bar") *r = Reader{} // zero out the Reader r.Reset(strings.NewReader("bar bar")) checkAll(r, "bar bar") // Wrap a reader and then Reset to that reader. r.Reset(strings.NewReader("recur")) r2 := NewReader(r) checkAll(r2, "recur") r.Reset(strings.NewReader("recur2")) r2.Reset(r)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
finished_execute_.wait(l); } if (TF_GetCode(status_.get()) != TF_OK) { TF_SetStatus(status, TF_GetCode(status_.get()), TF_Message(status_.get())); // Reset the member `status_` so future op executions (after recovery from // the bad `status`) start with an OK status. TF_SetStatus(status_.get(), TF_OK, ""); } cancellation_manager_ = nullptr;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
} private static BufferedInputStream reset(StreamSupplier inputSupplier, BufferedInputStream bis) throws IOException { try { bis.reset(); return bis; } catch (IOException e) { return new BufferedInputStream(inputSupplier.open(), BUFFER_SIZE); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-child.xml
</scm> <distributionManagement> <site><!-- overriding 1 element will reset all elements, but not child.site.url.inherit.append.path attribute --> <name>reset</name> </site> </distributionManagement>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
if len(healDisks) == 0 { // Reset for next interval. diskCheckTimer.Reset(defaultMonitorNewDiskInterval) continue } // Reformat disks immediately _, err := z.HealFormat(context.Background(), false) if err != nil && !errors.Is(err, errNoHealRequired) { healingLogIf(ctx, err) // Reset for next interval. diskCheckTimer.Reset(defaultMonitorNewDiskInterval) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
levelToString[InfoLevel], levelToString[WarningLevel], levelToString[ErrorLevel], levelToString[CriticalLevel], levelToString[OffLevel]) logCmd.PersistentFlags().BoolVarP(&reset, "reset", "r", reset, "Reset levels to default value (warning).") logCmd.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector") logCmd.PersistentFlags().StringVar(&loggerLevelString, "level", loggerLevelString,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters">SGR * (Select Graphic Rendition) parameters</a>. */ public enum Attribute { RESET(0, "RESET"), INTENSITY_BOLD(1, "INTENSITY_BOLD"), INTENSITY_FAINT(2, "INTENSITY_FAINT"), ITALIC(3, "ITALIC_ON"), UNDERLINE(4, "UNDERLINE_ON"), BLINK_SLOW(5, "BLINK_SLOW"),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-expected.xml
<url>https://domain.org/override</url> </scm> <distributionManagement> <site child.site.url.inherit.append.path="false"> <name>reset</name> </site> </distributionManagement>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
.error( "Error: configuration exist. Use --force if you want to reset existing configuration.")); return BAD_OPERATION; } SettingsSecurity config = secDispatcher.readConfiguration(true); // reset config config.setDefaultDispatcher(null); config.getConfigurations().clear();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)