Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1301 - 1310 of 1,837 for New (0.01 seconds)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
            Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null);
            ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem));
    
            assertNotSame(collector1, collector2);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jul 20 20:19:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. internal/disk/stat_solaris.go

    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/package-info.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * This package contains the core classes for CLIng (CLI "new-gen"),
     * the next generation command-line interface for Maven.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:05:54 GMT 2025
    - 975 bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultProjectBuilderConfiguration.java

            this.userProperties = userProperties;
            return this;
        }
    
        @Override
        public Properties getUserProperties() {
            if (userProperties == null) {
                userProperties = new Properties();
            }
    
            return userProperties;
        }
    
        @Override
        public Properties getExecutionProperties() {
            return executionProperties;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader");
            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
            updateLogging(context);
        }
    
        @Override
        public void updateLogging(LookupContext context) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

                EventType eventType = convert(ee.getType());
                Collection<Listener> listeners = session.getListeners();
                if (!listeners.isEmpty()) {
                    Event event = new DefaultEvent(session, ee, eventType);
                    for (Listener listener : listeners) {
                        listener.onEvent(event);
                    }
                }
            }
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java

                        for (ReportSet execution : reportPlugin.getReportSets()) {
                            Xpp3Dom childDom = (Xpp3Dom) execution.getConfiguration();
                            childDom = Xpp3Dom.mergeXpp3Dom(childDom, new Xpp3Dom(parentDom));
                            execution.setConfiguration(childDom);
                        }
                    }
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. src/cmd/api/api_test.go

    				"A",
    				"pkg syscall (darwin-amd64), type RawSockaddrInet6 struct",
    			},
    			ok:  false,
    			out: "+pkg syscall, type RawSockaddrInet6 struct\n",
    		},
    	}
    	for _, tt := range tests {
    		buf := new(strings.Builder)
    		gotOK := compareAPI(buf, tt.features, tt.required, tt.exception)
    		if gotOK != tt.ok {
    			t.Errorf("%s: ok = %v; want %v", tt.name, gotOK, tt.ok)
    		}
    		if got := buf.String(); got != tt.out {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 02 17:06:27 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/archive/zip/zip_test.go

    	"io"
    	"runtime"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestOver65kFiles(t *testing.T) {
    	if testing.Short() && testenv.Builder() == "" {
    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  10. cmd/xl-storage_test.go

    	// Validate all test cases.
    	for i, testCase := range testCases {
    		// Initialize a new xlStorage layer.
    		_, err := newLocalXLStorage(testCase.name)
    		if err != testCase.err {
    			t.Fatalf("TestXLStorage %d failed wanted: %s, got: %s", i+1, err, testCase.err)
    		}
    	}
    }
    
    // TestXLStorageMakeVol - TestXLStorage validate the logic for creation of new xlStorage volume.
    // Asserts the failures too against the expected failures.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
Back to Top