Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,285 for name (0.15 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

        public String name, scope;
        public int hexCode;
        int srcHashCode; /* srcHashCode must be set by name resolution
                          * routines before entry into addressCache
                          */
    
        Name() {
        }
        public Name( String name, int hexCode, String scope ) {
            if( name.length() > 15 ) {
                name = name.substring( 0, 15 );
            }
    Java
    - Registered: 2024-02-18 00:10
    - Last Modified: 2019-03-22 20:39
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

            }
            this.name = name.toUpperCase();
            this.hexCode = hexCode;
            this.scope = scope != null && scope.length() > 0 ? scope : cfg.getNetbiosScope();
            this.srcHashCode = 0;
        }
    
    
        /**
         * @param cfg
         * @param name
         */
        public Name ( Configuration cfg, NetbiosName name ) {
            this.config = cfg;
            this.name = name.getName();
    Java
    - Registered: 2024-02-18 00:10
    - Last Modified: 2018-07-01 13:12
    - 7.7K bytes
    - Viewed (0)
  3. internal/event/name.go

    		return []Name{
    			ObjectManyVersions,
    			PrefixManyFolders,
    		}
    	case Everything:
    		res := make([]Name, objectSingleTypesEnd-1)
    		for i := range res {
    			res[i] = Name(i + 1)
    		}
    		return res
    	default:
    		return []Name{name}
    	}
    }
    
    // Mask returns the type as mask.
    // Compound "All" types are expanded.
    func (name Name) Mask() uint64 {
    	if name < objectSingleTypesEnd {
    		return 1 << (name - 1)
    Go
    - Registered: 2024-01-28 19:28
    - Last Modified: 2024-01-05 18:43
    - 9.7K bytes
    - Viewed (0)
  4. operator/pkg/name/name.go

    type ComponentName string
    
    const (
    	// IstioComponent names corresponding to the IstioOperator proto component names. Must be the same, since these
    	// are used for struct traversal.
    	IstioBaseComponentName ComponentName = "Base"
    	PilotComponentName     ComponentName = "Pilot"
    
    	CNIComponentName     ComponentName = "Cni"
    	ZtunnelComponentName ComponentName = "Ztunnel"
    
    Go
    - Registered: 2023-12-13 22:53
    - Last Modified: 2023-11-17 22:41
    - 7.6K bytes
    - Viewed (0)
  5. internal/event/name_test.go

    	}
    }
    
    func TestNameUnmarshalXML(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		data         []byte
    		expectedName Name
    		expectErr    bool
    	}{
    		{[]byte("<Name>s3:ObjectAccessed:*</Name>"), ObjectAccessedAll, false},
    		{[]byte("<Name>s3:ObjectRemoved:Delete</Name>"), ObjectRemovedDelete, false},
    		{[]byte("<Name></Name>"), blankName, true},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: 2024-01-28 19:28
    - Last Modified: 2024-01-05 18:43
    - 6.7K bytes
    - Viewed (0)
  6. operator/pkg/name/name_test.go

    		{
    			name: "path is longer than tree depth, string node",
    			args: args{
    				inputTree: `
    k1:
      k2: v1
    `,
    				path: util.Path{"k1", "k2", "k3"},
    			},
    			want:    "",
    			found:   false,
    			wantErr: false,
    		},
    		{
    			name: "path not in map array tree",
    			args: args{
    				inputTree: `
    a:
      b:
      - name: n1
        value: v1
      - name: n2
        list:
        - v21
        - v22
    `,
    Go
    - Registered: 2023-12-13 22:53
    - Last Modified: 2023-04-05 14:08
    - 7.7K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/basedir-interpolation/pom-with-unusual-name.xml

      <groupId>org.apache.maven.its.mng3944</groupId>
      <artifactId>test1</artifactId>
      <version>1.0-SNAPSHOT</version>
    
      <name>Maven Integration Test :: MNG-3944</name>
      <description>
        Test that interpolation of ${basedir} works for a POM that is not named "pom.xml"
      </description>
    
      <properties>
        <!-- this is where we collect all the interpolated values for the POM dump -->
        <prop0>${basedir}</prop0>
    XML
    - Registered: 2024-02-18 03:35
    - Last Modified: 2020-03-29 19:02
    - 1.3K bytes
    - Viewed (0)
  8. tests/named_argument_test.go

    	DB.Where("name1 = @name OR name2 = @name OR name3 = @name", sql.Named("name", "jinzhu2")).First(&result2)
    
    	AssertEqual(t, result2, namedUser)
    
    	var result3 NamedUser
    	DB.Where("name1 = @name OR name2 = @name OR name3 = @name", map[string]interface{}{"name": "jinzhu2"}).First(&result3)
    
    	AssertEqual(t, result3, namedUser)
    
    	var result4 NamedUser
    Go
    - Registered: 2024-02-18 09:35
    - Last Modified: 2021-12-21 11:50
    - 2.7K bytes
    - Viewed (0)
  9. tests/named_polymorphic_test.go

    	if hamster2.PreferredToy.ID != hamster.PreferredToy.ID || hamster2.PreferredToy.Name != hamster.PreferredToy.Name {
    		t.Errorf("Hamster's preferred toy failed to preload")
    	}
    
    	if hamster2.OtherToy.ID != hamster.OtherToy.ID || hamster2.OtherToy.Name != hamster.OtherToy.Name {
    		t.Errorf("Hamster's other toy failed to preload")
    	}
    
    	// clear to omit Toy.ID in count
    	hamster2.PreferredToy = Toy{}
    Go
    - Registered: 2024-02-18 09:35
    - Last Modified: 2020-07-08 09:59
    - 4.2K bytes
    - Viewed (0)
  10. schema/field_test.go

    		{Name: "Name3", DBName: "name3", BindNames: []string{"Name3"}, DataType: schema.String, Tag: `gorm:"<-"`, Creatable: true, Updatable: true, Readable: true},
    		{Name: "Name4", DBName: "name4", BindNames: []string{"Name4"}, DataType: schema.String, Tag: `gorm:"<-:create"`, Creatable: true, Updatable: false, Readable: true},
    Go
    - Registered: 2024-02-18 09:35
    - Last Modified: 2022-02-19 09:02
    - 12.7K bytes
    - Viewed (0)
Back to top