Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for dattrs (0.05 sec)

  1. src/archive/tar/common.go

    	Devminor int64 // Minor device number (valid for TypeChar or TypeBlock)
    
    	// Xattrs stores extended attributes as PAX records under the
    	// "SCHILY.xattr." namespace.
    	//
    	// The following are semantically equivalent:
    	//  h.Xattrs[key] = value
    	//  h.PAXRecords["SCHILY.xattr."+key] = value
    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      for (it = attrs.begin(); it != attrs.end(); it++) {
        if (count == i) {
          return it->first.length();
        }
        count++;
      }
      return -1;
    }
    
    void TF_OperationGetAttrName(TF_Operation* oper, int i, char* output,
                                 TF_Status* status) {
      auto attrs = oper->node.attrs();
      int count = 0;
      AttrValueMap::const_iterator it;
      for (it = attrs.begin(); it != attrs.end(); it++) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        }
                    }
                } else {
                    final Node idAttr = node.getAttributes().getNamedItem("id");
                    if (idAttr != null) {
                        final String value = idAttr.getNodeValue();
                        return id.equals(value);
                    }
                }
            }
            return false;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    		},
    		ok: false,
    	}, {
    		in: map[string]string{
    			"missing":          "missing",
    			"SCHILY.xattr.key": "value",
    		},
    		want: &Header{
    			Xattrs: map[string]string{"key": "value"},
    			PAXRecords: map[string]string{
    				"missing":          "missing",
    				"SCHILY.xattr.key": "value",
    			},
    		},
    		ok: true,
    	}}
    
    	for i, v := range vectors {
    		got := new(Header)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  5. finisher_api.go

    			if where, ok := c.Expression.(clause.Where); ok {
    				tx.assignInterfacesToValue(where.Exprs)
    			}
    		}
    
    		// initialize with attrs, conds
    		if len(tx.Statement.attrs) > 0 {
    			tx.assignInterfacesToValue(tx.Statement.attrs...)
    		}
    	}
    
    	// initialize with attrs, conds
    	if len(tx.Statement.assigns) > 0 {
    		tx.assignInterfacesToValue(tx.Statement.assigns...)
    	}
    	return
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/OplockTests.java

                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(sess.getConfig());
                    SmbComNTCreateAndX req = new SmbComNTCreateAndX(sess.getConfig(), uncPath, flags, access, sharing, attrs, options, null);
                    req.addFlags0(0x2); // REQUEST_OPLOCK
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    	if err := writer.Close(); err != nil {
    		t.Fatal(err)
    	}
    	// Test that we can get the xattrs back out of the archive.
    	reader := NewReader(&buf)
    	hdr, err = reader.Next()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !maps.Equal(hdr.Xattrs, xattrs) {
    		t.Fatalf("xattrs did not survive round trip: got %+v, want %+v",
    			hdr.Xattrs, xattrs)
    	}
    }
    
    func TestPaxHeadersSorted(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
                    if (mavenArtifactJar.matcher(filename).matches()) {
                        Process p = Runtime.getRuntime().exec(new String[] {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. chainable_api.go

    //	db.Where(User{Name: "jinzhu"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "jinzhu", Age: 20}
    //
    // [FirstOrCreate]: https://gorm.io/docs/advanced_query.html#FirstOrCreate
    // [FirstOrInit]: https://gorm.io/docs/advanced_query.html#FirstOrInit
    func (db *DB) Attrs(attrs ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.attrs = attrs
    	return
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradients.cc

      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_->attrs.BuildNodeDef();
      std::unique_ptr<GradientFunction> gradient_fn;
      TF_RETURN_IF_ERROR(registry.Lookup(*forward_op_, &gradient_fn));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top