Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3031 - 3040 of 6,031 for AsString (0.05 sec)

  1. tests/scopes_test.go

    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func NameIn1And2(d *gorm.DB) *gorm.DB {
    	return d.Where("name in (?)", []string{"ScopeUser1", "ScopeUser2"})
    }
    
    func NameIn2And3(d *gorm.DB) *gorm.DB {
    	return d.Where("name in (?)", []string{"ScopeUser2", "ScopeUser3"})
    }
    
    func NameIn(names []string) func(d *gorm.DB) *gorm.DB {
    	return func(d *gorm.DB) *gorm.DB {
    		return d.Where("name in (?)", names)
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	}
    	if input[0] == '[' {
    		return json.Unmarshal(input, i)
    	}
    	m := make(map[string]T)
    	if err := json.Unmarshal(input, &m); err != nil {
    		return err
    	}
    	*i = maps.Values(m)
    	return nil
    }
    
    // PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintBootstrapDump(outputFormat string) error {
    	// TODO
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string
      // that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and
      // the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

       */
      @Throws(IOException::class)
      fun urls(): MutableIterator<String> {
        return object : MutableIterator<String> {
          private val delegate: MutableIterator<DiskLruCache.Snapshot> = cache.snapshots()
          private var nextUrl: String? = null
          private var canRemove = false
    
          override fun hasNext(): Boolean {
            if (nextUrl != null) return true
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/streaming-v4-unsigned.go

    		for _, want := range b {
    			got, err := cr.reader.ReadByte()
    			if err == io.EOF {
    				return io.ErrUnexpectedEOF
    			}
    			if got != want {
    				if cr.debug {
    					fmt.Printf("mustread: want: %q got: %q\n", string(want), string(got))
    				}
    				return errMalformedEncoding
    			}
    			if err != nil {
    				return err
    			}
    		}
    		return nil
    	}
    	var size int
    	for {
    		b, err := cr.reader.ReadByte()
    		if err == io.EOF {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter_test.go

    )
    
    // TestUnsupportedFilters checks if parsing Filter xml with
    // unsupported elements returns appropriate errors
    func TestUnsupportedFilters(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Filter with And tags
    			inputXML: ` <Filter>
    						<And>
    							<Prefix>key-prefix</Prefix>
    						</And>
    						</Filter>`,
    			expectedErr: errXMLNotWellFormed,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new StandardImplForwardingSet<>(Sets.newLinkedHashSet(asList(elements)));
                      }
                    })
                .named("ForwardingSet[LinkedHashSet] with standard implementations")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial010_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
        ),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 542 bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
      public static void main(String... args) throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_enforce_once_required_parameter.py

                        "loc": {
                            "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
                            "title": "Location",
                            "type": "array",
                        },
                        "msg": {"title": "Message", "type": "string"},
                        "type": {"title": "Error " "Type", "type": "string"},
                    },
                    "required": ["loc", "msg", "type"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top