Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 1,627 for modes (0.01 seconds)

  1. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.io.xpp3;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Model;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     * @deprecated Use MavenStaxReader instead
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.io.ModelParseException;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
    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)
  3. tests/count_test.go

    	})
    
    	var count1 int64
    	if err := DB.Model(&Company{}).Where("name = ?", "company_count_group_a").Group("name").Count(&count1).Error; err != nil {
    		t.Errorf("Count should work, but got err %v", err)
    	}
    	if count1 != 1 {
    		t.Errorf("Count with group should be 1, but got count: %v", count1)
    	}
    
    	var count2 int64
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. tests/test_response_by_alias.py

        )
    
    
    @app.get("/dict", response_model=Model, response_model_by_alias=False)
    def read_dict():
        return {"alias": "Foo"}
    
    
    @app.get("/model", response_model=Model, response_model_by_alias=False)
    def read_model():
        return Model(alias="Foo")
    
    
    @app.get("/list", response_model=list[Model], response_model_by_alias=False)
    def read_list():
        return [{"alias": "Foo"}, {"alias": "Bar"}]
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. api/maven-api-settings/src/main/mdo/settings.mdo

      "AS IS" BASIS, 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.
    -->
    
    <model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationFile;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/archive/zip/reader_test.go

    			return
    		}
    	}
    }
    
    func testFileMode(t *testing.T, f *File, want fs.FileMode) {
    	mode := f.Mode()
    	if want == 0 {
    		t.Errorf("%s mode: got %v, want none", f.Name, mode)
    	} else if mode != want {
    		t.Errorf("%s mode: want %v, got %v", f.Name, want, mode)
    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/EmptyProjectBuildingHelper.java

     */
    package org.apache.maven.project;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Repository;
    
    /**
     * A stub implementation to bypass artifact resolution from repositories.
     *
     */
    public class EmptyProjectBuildingHelper implements ProjectBuildingHelper {
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Objects;
    import java.util.Optional;
    
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.profile.ProfileActivationContext;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenStaxReader;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.Test;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top