Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for appendTime (0.13 sec)

  1. cmd/tier-last-day-stats_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, zb0007, "Bins", zb0009)
    				return
    			}
    		}
    		// string "UpdatedAt"
    		o = append(o, 0xa9, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
    		o = msgp.AppendTime(o, zb0008.UpdatedAt)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *DailyAllTierStats) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0004 uint32
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/log/slog/text_handler.go

    	return h.commonHandler.handle(r)
    }
    
    func appendTextValue(s *handleState, v Value) error {
    	switch v.Kind() {
    	case KindString:
    		s.appendString(v.str())
    	case KindTime:
    		s.appendTime(v.time())
    	case KindAny:
    		if tm, ok := v.any.(encoding.TextMarshaler); ok {
    			data, err := tm.MarshalText()
    			if err != nil {
    				return err
    			}
    			// TODO: avoid the conversion to string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/net/http/export_test.go

    	"net/url"
    	"slices"
    	"sync"
    	"testing"
    	"time"
    )
    
    var (
    	DefaultUserAgent                  = defaultUserAgent
    	NewLoggingConn                    = newLoggingConn
    	ExportAppendTime                  = appendTime
    	ExportRefererForURL               = refererForURL
    	ExportServerNewConn               = (*Server).newConn
    	ExportCloseWriteAndWait           = (*conn).closeWriteAndWait
    	ExportErrRequestCanceled          = errRequestCanceled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. cmd/object-api-interface_gen.go

    	o = msgp.AppendBool(o, z.ForceCreate)
    	// string "CreatedAt"
    	o = append(o, 0xa9, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
    	o = msgp.AppendTime(o, z.CreatedAt)
    	// string "NoLock"
    	o = append(o, 0xa6, 0x4e, 0x6f, 0x4c, 0x6f, 0x63, 0x6b)
    	o = msgp.AppendBool(o, z.NoLock)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. src/log/slog/json_handler.go

    		}
    	case KindBool:
    		*s.buf = strconv.AppendBool(*s.buf, v.Bool())
    	case KindDuration:
    		// Do what json.Marshal does.
    		*s.buf = strconv.AppendInt(*s.buf, int64(v.Duration()), 10)
    	case KindTime:
    		s.appendTime(v.Time())
    	case KindAny:
    		a := v.Any()
    		_, jm := a.(json.Marshaler)
    		if err, ok := a.(error); ok && !jm {
    			s.appendString(err.Error())
    		} else {
    			return appendJSONMarshal(s.buf, a)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt

                prettyPrint {
                    appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}")
    
                    appendLine("Symbol:")
                    appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    
                    appendLine()
    
                    appendLine("Substitutor:")
                    appendLine(stringRepresentation(substitutor))
    
                    appendLine()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/importOptimizer/AbstractAnalysisApiImportOptimizerTest.kt

                    .mapValues { (_, importedNames) -> importedNames.sorted() }
    
                appendLine("USED DECLARATIONS:")
                for ((path, elements) in sortedUsedDeclarations) {
                    appendLine()
                    appendLine("Declaration: $path")
                    appendLine("By names: $elements")
                }
    
                appendLine()
    
                val sortedUnresolvedNames = importsAnalysis.unresolvedNames.sorted()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt

                        debugPrinter.appendLine(debugRenderer.render(analysisSession, symbol))
                        debugPrinter.appendLine()
    
                        prettyPrinter.withIndents(indentCount = declaration.parentsOfType<KtDeclaration>(withSelf = false).count()) {
                            prettyPrinter.appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractTypeScopeTest.kt

                    appendLine("Expression: ${expression.text}")
                    appendLine("${KaType::class.simpleName}: ${type.render(position = Variance.INVARIANT)}")
                    appendLine()
                    appendLine("${KaTypeScope::class.simpleName}:")
                    appendLine(typeScope?.let { renderForTests(it) } ?: "NO_SCOPE")
                    appendLine()
    
                    appendLine("Declaration Scope:")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolInfoProvider/AbstractAnnotationApplicableTargetsTest.kt

                buildString {
                    appendLine("${KtAnnotationEntry::class.simpleName}: ${annotationEntry.text}")
                    appendLine()
                    appendLine("Resolved annotation symbol:")
                    appendLine(annotationClassSymbol.render(KtDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
                    appendLine()
                    appendLine("Applicable targets: $applicableTargetsInOrder")
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top