Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 861 for containers (0.05 seconds)

  1. cmd/generic-handlers_test.go

    func TestContainsReservedMetadata(t *testing.T) {
    	for _, test := range containsReservedMetadataTests {
    		t.Run("", func(t *testing.T) {
    			contains := containsReservedMetadata(test.header)
    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    		})
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    if ((exceptionMessage == null || exceptionMessage.isEmpty())
                            || longMessage.contains(exceptionMessage)) {
                        exceptionMessage = longMessage;
                    } else if (!exceptionMessage.contains(longMessage)) {
                        exceptionMessage = join(exceptionMessage, System.lineSeparator() + longMessage);
                    }
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompileExtension.kt

     */
    
    package gradlebuild.jvm
    
    import org.gradle.api.NamedDomainObjectContainer
    import org.gradle.api.NamedDomainObjectProvider
    import org.gradle.api.Project
    import org.gradle.api.tasks.SourceSet
    
    /**
     * A container of [JvmCompilation]s for a JVM project.
     *
     * Utility methods are provided to add compilations based on existing [SourceSet]s.
     */
    abstract class JvmCompileExtension {
    
        companion object {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 14:00:52 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

            assertNotEquals(request1, request3);
    
            // Test toString
            String toString = request1.toString();
            assertTrue(toString.contains("coordinates="), "Expected " + toString + " to contain " + "coordinates=");
            assertTrue(toString.contains("repositories="), "Expected " + toString + " to contain " + "repositories=");
        }
    
        @Test
        void testRequestTraceIntegration() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. internal/pubsub/mask.go

    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    }
    
    // Overlaps returns whether *any* flags in t overlaps with other.
    func (t Mask) Overlaps(other Mask) bool {
    	return t&other != 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  6. logger/slog_test.go

    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    	}, nil)
    
    	if strings.Contains(buf.String(), "gorm/logger/slog.go") {
    		t.Error("Found internal slog.go reference in caller frame. Expected only test file references.")
    	}
    
    	if !strings.Contains(buf.String(), "gorm/logger/slog_test.go") {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 782 bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                severities.add(problem.getSeverity());
            }
        }
    
        public boolean hasFatalErrors() {
            return severities.contains(ModelProblem.Severity.FATAL);
        }
    
        public boolean hasErrors() {
            return severities.contains(ModelProblem.Severity.ERROR) || severities.contains(ModelProblem.Severity.FATAL);
        }
    
        @Override
        public List<ModelProblem> getProblems() {
            return problems;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            Supplier<String> message = () ->
                    String.format("The exception message does not contain the expected GAV. Message was:%n%s%n", cause);
    
            assertTrue(cause.contains(expectedGAV), message);
            assertTrue(cause.contains(actualGAV), message);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. src/archive/tar/example_test.go

    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  10. cmd/api-errors.go

    	},
    	ErrInvalidObjectName: {
    		Code:           "XMinioInvalidObjectName",
    		Description:    "Object name contains unsupported characters.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectNamePrefixSlash: {
    		Code:           "XMinioInvalidObjectName",
    		Description:    "Object name contains a leading slash.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidResourceName: {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
Back to Top