Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 279 for attr_ (0.31 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/type/DefaultArtifactTypeRegistryTest.groovy

            def attrs = ImmutableAttributes.EMPTY
    
            expect:
            registry.mapAttributesFor(attrs, []) == attrs
        }
    
        def "does not apply any mapping when variant has no artifacts"() {
            def attrs = ImmutableAttributes.EMPTY
    
            given:
            registry.create().create("aar")
    
            expect:
            registry.mapAttributesFor(attrs, []) == attrs
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 14:43:17 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
      Status SetAttrType(const char* const attr_name, DataType value) override {
        if (!op_) {
          return Status(
              absl::StatusCode::kFailedPrecondition,
              "op_type and op_name must be specified before specifying attrs.");
        }
        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    					attrs = append(attrs, "$"+strings.TrimSpace(attr[0]), strings.TrimSpace(attr[1]))
    					r = strings.NewReplacer(attrs...)
    				}
    				// Ignore any unrecognized entries
    				continue
    			}
    			return nil, err
    		}
    		if m == nil {
    			continue
    		}
    		mapping = append(mapping, m)
    	}
    	if err := s.Err(); err != nil {
    		return nil, err
    	}
    	return mapping, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                        moduleVersionId = id
                    }
                }
                return node(type, id, moduleVersionId, attrs)
            }
    
            NodeBuilder node(String type, String id, String moduleVersion, Map attrs) {
                def node = nodes[moduleVersion]
                if (!node) {
                    node = new NodeBuilder(type, id, moduleVersion, attrs, this)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  5. src/log/slog/handler.go

    	//   - If r.PC is zero, ignore it.
    	//   - Attr's values should be resolved.
    	//   - If an Attr's key and value are both the zero value, ignore the Attr.
    	//     This can be tested with attr.Equal(Attr{}).
    	//   - If a group's key is empty, inline the group's Attrs.
    	//   - If a group has no Attrs (even if it has a non-empty key),
    	//     ignore it.
    	Handle(context.Context, Record) error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

                def attr1 = Attribute.of('custom', String)
                def attr2 = Attribute.of('nice', Boolean)
    
                dependencies {
                    api("org.test:bar:1.0") {
                        attributes {
                            attribute(attr1, 'hello')
                        }
                    }
    
                    api(project(':utils')) {
                        attributes {
                            attribute(attr1, 'bazinga')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  7. api/go1.21.txt

    pkg log/slog, func GroupValue(...Attr) Value #56345
    pkg log/slog, func InfoContext(context.Context, string, ...interface{}) #61200
    pkg log/slog, func Info(string, ...interface{}) #56345
    pkg log/slog, func Int64(string, int64) Attr #56345
    pkg log/slog, func Int64Value(int64) Value #56345
    pkg log/slog, func Int(string, int) Attr #56345
    pkg log/slog, func IntValue(int) Value #56345
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. samples/extauthz/cmd/extauthz/main.go

    	attrs := request.GetAttributes()
    
    	// Determine whether to allow or deny the request.
    	allow := false
    	checkHeaderValue, contains := attrs.GetRequest().GetHttp().GetHeaders()[checkHeader]
    	if contains {
    		allow = checkHeaderValue == allowedValue
    	} else {
    		allow = attrs.Source != nil && strings.HasSuffix(attrs.Source.Principal, "/sa/"+*serviceAccount)
    	}
    
    	if allow {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/log/slog/logger.go

    	l.log(ctx, level, msg, args...)
    }
    
    // LogAttrs is a more efficient version of [Logger.Log] that accepts only Attrs.
    func (l *Logger) LogAttrs(ctx context.Context, level Level, msg string, attrs ...Attr) {
    	l.logAttrs(ctx, level, msg, attrs...)
    }
    
    // Debug logs at [LevelDebug].
    func (l *Logger) Debug(msg string, args ...any) {
    	l.log(context.Background(), LevelDebug, msg, args...)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 18:26:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

            Xpp3Dom t1 = new Xpp3Dom("top");
            t1.setAttribute("attr", "value");
            t1.setInputLocation("t1top");
    
            t1.setAttribute(Xpp3Dom.SELF_COMBINATION_MODE_ATTRIBUTE, Xpp3Dom.SELF_COMBINATION_OVERRIDE);
    
            // create the recessive DOM
            Xpp3Dom t2 = new Xpp3Dom("top");
            t2.setAttribute("attr2", "value2");
            t2.setValue("t2Value");
            t2.setInputLocation("t2top");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top