Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 3,453 for packages (0.05 seconds)

  1. schema/pool.go

    package schema
    
    import (
    	"reflect"
    	"sync"
    )
    
    // sync pools
    var (
    	normalPool      sync.Map
    	poolInitializer = func(reflectType reflect.Type) FieldNewValuePool {
    		v, _ := normalPool.LoadOrStore(reflectType, &sync.Pool{
    			New: func() interface{} {
    				return reflect.New(reflectType).Interface()
    			},
    		})
    		return v.(FieldNewValuePool)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Apr 11 13:37:44 GMT 2022
    - 345 bytes
    - Click Count (0)
  2. docs/extensions/s3zip/examples/minio-go/main.go

    package main
    
    import (
    	"context"
    	"io"
    	"log"
    	"os"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Click Count (0)
  3. internal/grid/debugmsg_string.go

    // Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[debugShutdown-0]
    	_ = x[debugKillInbound-1]
    	_ = x[debugKillOutbound-2]
    	_ = x[debugWaitForExit-3]
    	_ = x[debugSetConnPingDuration-4]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 07 15:51:52 GMT 2024
    - 1K bytes
    - Click Count (0)
  4. logger/slog_test.go

    //go:build go1.21
    
    package logger
    
    import (
    	"bytes"
    	"context"
    	"log/slog"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestSlogLogger(t *testing.T) {
    	buf := &bytes.Buffer{}
    	handler := slog.NewTextHandler(buf, &slog.HandlerOptions{AddSource: true})
    	logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info})
    
    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 782 bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/BuildDistributions.kt

    package configurations
    
    import common.Os.LINUX
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.setArtifactRules
    import model.CIBuildModel
    import model.Stage
    
    class BuildDistributions(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = LINUX, stage = stage, init = {
            id("${model.projectId}_BuildDistributions")
            name = "Build Distributions"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeContainer.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import org.gradle.api.Action;
    
    public interface TypeContainer {
        void visitTypes(Action<TypeMetaData> action);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 776 bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/Attachable.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.model;
    
    public interface Attachable<T> {
        void attach(ClassMetaDataRepository<T> repository);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 740 bytes
    - Click Count (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersions.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.identity.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 813 bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JavaxAnnotationNullabilityChangesTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    class JavaxAnnotationNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
        override val nullableAnnotationName: String = "javax.annotation.Nullable"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 824 bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersions.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 815 bytes
    - Click Count (0)
Back to Top