Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 146 for Dummy (0.07 seconds)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

        void testMicTag3NonOctetIgnored() throws Exception {
            // Manually craft a token where field [3] is not an OctetString (e.g., BitString)
            ASN1EncodableVector fields = new ASN1EncodableVector();
            // Add a dummy [3] BIT STRING which should be ignored by implementation
            fields.add(new DERTaggedObject(true, 3, new DERBitString(0xA5)));
    
            ASN1EncodableVector ev = new ASN1EncodableVector();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            pairs.add(new AvTargetName("TARGET"));
            pairs.add(new AvTimestamp(System.currentTimeMillis()));
            pairs.add(new AvFlags(0));
            pairs.add(new AvSingleHost(new byte[48])); // Dummy single host data
    
            type2.setTargetInformation(AvPairs.encode(pairs));
    
            return type2;
        }
    
        /**
         * Helper method to create a mock context with specific LanMan compatibility level
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            } catch (Throwable e) {
              throw sanityError(classToTest, EQUALS_TEST_METHOD_NAMES, "equals test", e);
            }
          }
        }
      }
    
      /**
       * Sets the default value for {@code type}, when dummy value for a parameter of the same type
       * needs to be created in order to invoke a method or constructor. The default value isn't used in
       * testing {@link Object#equals} because more than one sample instances are needed for testing
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. internal/config/identity/openid/openid.go

    // DummyRoleARN is used to indicate that the user associated with it was
    // authenticated via policy-claim based OpenID provider.
    var DummyRoleARN = func() arn.ARN {
    	v, err := arn.NewIAMRoleARN("dummy-internal", "")
    	if err != nil {
    		panic("should not happen!")
    	}
    	return v
    }()
    
    // Config - OpenID Config
    type Config struct {
    	Enabled bool
    
    	// map of roleARN to providerCfg's
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[8,49,51,58:59,62:63,72:79] *}
    
    When `authenticate_user` is called with a username that doesn't exist in the database, we still run `verify_password` against a dummy hash.
    
    This ensures the endpoint takes roughly the same amount of time to respond whether the username is valid or not, preventing **timing attacks** that could be used to enumerate existing usernames.
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. tests/preload_suits_test.go

    			Level2s []*Level2 `gorm:"many2many:level1_level2;"`
    		}
    	)
    
    	DB.Migrator().DropTable("level1_level2", "level2_level3")
    	DB.Migrator().DropTable(&Level3{}, &Level2{}, &Level1{}, &Level4{})
    
    	dummy := Level1{
    		Value: "Level1",
    		Level2s: []*Level2{{
    			Value: "Level2",
    			Level3s: []*Level3{{
    				Value: "Level3",
    				Level4s: []*Level4{{
    					Value: "Level4",
    				}},
    			}},
    		}},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jun 05 11:34:13 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  7. tensorflow/c/eager/c_api_test.cc

          ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
          TFE_TensorHandle* dummy = nullptr;
          TFE_Execute(add_op_dummy, &dummy, &num_retvals, status);
          ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
          TFE_DeleteTensorHandle(dummy);
          TFE_DeleteOp(add_op_dummy);
        }
      }
      TFE_TensorHandle* retval = nullptr;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            } catch (Throwable e) {
              throw sanityError(classToTest, EQUALS_TEST_METHOD_NAMES, "equals test", e);
            }
          }
        }
      }
    
      /**
       * Sets the default value for {@code type}, when dummy value for a parameter of the same type
       * needs to be created in order to invoke a method or constructor. The default value isn't used in
       * testing {@link Object#equals} because more than one sample instances are needed for testing
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_experimental.cc

          status->status = TF_TensorToTensor(input_tensors[i], &input_tensor);
          if (!status->status.ok()) return;
          input_tensors_vector[i] = &input_tensor;
        }
      }
    
      // Create an inference context with dummy values, which will be updated later.
      InferenceContext c(TF_GRAPH_DEF_VERSION, node_def, op_reg_data->op_def,
                         std::vector<ShapeHandle>(num_inputs), input_tensors_vector,
                         {},
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  10. src/archive/zip/zip_test.go

    			}
    			if !bytes.Equal(buf, all[i:i+j]) {
    				t.Errorf("ReadAt(%d, %d) = %q; want %q", i, j, buf, all[i:i+j])
    			}
    		}
    	}
    }
    
    // fakeHash32 is a dummy Hash32 that always returns 0.
    type fakeHash32 struct {
    	hash.Hash32
    }
    
    func (fakeHash32) Write(p []byte) (int, error) { return len(p), nil }
    func (fakeHash32) Sum32() uint32               { return 0 }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
Back to Top