Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 506 for flag (0.02 sec)

  1. src/cmd/api/api_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. internal/disk/directio_darwin.go

    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	_, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java

         * indirectly depends on the given project.
         *
         * @param project The project whose downstream projects should be retrieved, must not be {@code null}.
         * @param transitive A flag whether to retrieve all direct and indirect downstream projects or just the immediate
         *            downstream projects.
         * @return The downstream projects in the build order, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

    @Deprecated(since = "4.0.0")
    public final class MavenArtifactProperties {
        /**
         * A boolean flag indicating whether the artifact presents some kind of bundle that physically includes its
         * dependencies, e.g. a fat WAR.
         */
        public static final String INCLUDES_DEPENDENCIES = "includesDependencies";
    
        /**
         * A boolean flag indicating whether the artifact is meant to be used for the compile/runtime/test build path of a
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig_test.go

    	}{
    		{
    			name: "given --reset flag return reset command",
    			args: args{
    				ctrzClient:      ctrzClient,
    				reset:           true,
    				outputLogLevel:  "",
    				stackTraceLevel: "",
    				outputFormat:    "",
    			},
    			want: &istiodConfigLog{state: &resetState{
    				client: ctrzClient,
    			}},
    		},
    		{
    			name: "given --level flag return outputLogLevel command",
    			args: args{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. tests/error_translator_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestDialectorWithErrorTranslatorSupport(t *testing.T) {
    	// it shouldn't translate error when the TranslateError flag is false
    	translatedErr := errors.New("translated error")
    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

      }
    
      /**
       * Ensures that valid flag combinations appear visually correct, and invalid show in hex.  This
       * also demonstrates how sparse the lookup table is.
       */
      @Test
      fun allFormattedFlagsWithValidBits() {
        val formattedFlags = mutableListOf<String>() // Highest valid flag is 0x20.
        for (i in 0..0x3f) formattedFlags.add(formatFlags(TYPE_HEADERS, i))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean
         */
        public boolean getAddDefaultEntities() {
            return delegate.getAddDefaultEntities();
        }
    
        /**
         * Sets the state of the "add default entities" flag.
         *
         * @param addDefaultEntities a addDefaultEntities object.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. cmd/object-handlers-common_test.go

    			actualFlag := checkPreconditions(context.Background(), recorder, request, tc.objInfo, ObjectOptions{})
    			if tc.expectedFlag != actualFlag {
    				t.Errorf("test: %s, got flag: %v, want: %v", tc.name, actualFlag, tc.expectedFlag)
    			}
    			if tc.expectedCode != recorder.Code {
    				t.Errorf("test: %s, got code: %d, want: %d", tc.name, recorder.Code, tc.expectedCode)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

                true
              } else {
                false
              }
          }
          else -> {
            if (reservedFlag1) throw ProtocolException("Unexpected rsv1 flag")
          }
        }
    
        val reservedFlag2 = b0 and B0_FLAG_RSV2 != 0
        if (reservedFlag2) throw ProtocolException("Unexpected rsv2 flag")
    
        val reservedFlag3 = b0 and B0_FLAG_RSV3 != 0
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top