Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for key0 (0.04 sec)

  1. src/internal/trace/testdata/testprog/annotations.go

    		trace.StartRegion(ctx, "unended region")
    
    		trace.WithRegion(ctx, "region0", func() {
    			// EvUserRegionBegin("region0", start)
    			trace.WithRegion(ctx, "region1", func() {
    				trace.Log(ctx, "key0", "0123456789abcdef") // EvUserLog("task0", "key0", "0....f")
    			})
    			// EvUserRegionEnd("region0", end)
    		})
    	}()
    	wg.Wait()
    
    	preExistingRegion.End()
    	postExistingRegion := trace.StartRegion(bgctx, "post-existing region")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace_test.go

    						if ev.Task().Type != "task0" {
    							t.Fatalf("converted event has unexpected task type name:\n%s", ev)
    						}
    					case trace.EventLog:
    						l := ev.Log()
    						if l.Task != 1 || l.Category != "key0" || l.Message != "0123456789abcdef" {
    							t.Fatalf("converted event has unexpected user log:\n%s", ev)
    						}
    					}
    				}
    			}
    		})
    	}
    	if !testedUserRegions {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-annotations.test

    String id=22
    	data="task0"
    String id=23
    	data="task0 region"
    String id=24
    	data="unended region"
    String id=25
    	data="region0"
    String id=26
    	data="region1"
    String id=27
    	data="key0"
    String id=28
    	data="0123456789abcdef"
    String id=29
    	data="post-existing region"
    String id=30
    	data="main.main.func1.1"
    String id=31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
            hashtable.put("key3", 42)
            configurationCacheRoundtripOf(hashtable).run {
                assertThat(hashtable, equalTo(this))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/invalid-configs/invalid-typo.yaml

    apiVersion: apiserver.config.k8s.io/v1
    resources:
      - resources:
          - secrets
        providers:
          - aesgcm:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - secretbox:
              keys:
                - name: key1
                  secret: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
          - kms:
              name: testprovider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 941 bytes
    - Viewed (0)
  6. tensorflow/c/tf_status_helper_test.cc

      ASSERT_EQ(error::INVALID_ARGUMENT, another_cc_status.code());
      // Ensure the payloads are not lost during conversions
      ASSERT_EQ(cc_status.GetPayload("key1"), another_cc_status.GetPayload("key1"));
      ASSERT_EQ(cc_status.GetPayload("key2"), another_cc_status.GetPayload("key2"));
      TSL_DeleteStatus(s);
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. internal/kms/secret-key.go

    	}
    	return NewBuiltin(keyID, key)
    }
    
    // NewBuiltin returns a single-key KMS that derives new DEKs from the
    // given key.
    func NewBuiltin(keyID string, key []byte) (*KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return &KMS{
    		Type:       Builtin,
    		DefaultKey: keyID,
    		conn: secretKey{
    			keyID: keyID,
    			key:   key,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt

            val entryPoint2 = Any()
            val key1 = Any()
            val key2 = Any()
    
            reporting.enterDynamicCall(entryPoint1)
            assertTrue(reporting.unreportedProblemInCurrentCall(key1))
            assertFalse(reporting.unreportedProblemInCurrentCall(key1))
            assertTrue(reporting.unreportedProblemInCurrentCall(key2))
            assertFalse(reporting.unreportedProblemInCurrentCall(key2))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. tests/integration/security/testdata/authz/jwt.yaml.tmpl

          values: ["valueC"]
      - to:
        - operation:
            paths: ["/nested-2-key1"]
            methods: ["GET"]
        when:
        - key: request.auth.claims[nested][nested-2][key1]
          values: ["valueA"]
      - to:
        - operation:
            paths: ["/valid-jwt"]
        when:
        - key: request.auth.principal
          values: ["*"]
      - to:
        - operation:
            paths: ["*/presenter"]
        when:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top