Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 7,250 for return (0.07 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    		return &testRequest{}
    	}, func() *testResponse {
    		return &testResponse{}
    	})
    	// Handles incoming requests, returns a response
    	handler1 := func(req *testRequest) (resp *testResponse, err *RemoteErr) {
    		resp = h1.NewResponse()
    		*resp = testResponse{
    			OrgNum:    req.Num,
    			OrgString: req.String,
    			Embedded:  *req,
    		}
    		return resp, nil
    	}
    	// Return error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. tests/scopes_test.go

    				return tx.Where("z = 0").Scopes(
    					func(d *gorm.DB) *gorm.DB { return d.Where("a = 1") },
    					func(d *gorm.DB) *gorm.DB {
    						return d.Or(DB.Where("b = 2").Or("c = 3"))
    					},
    				).Find(&Language{})
    			},
    			expected: `SELECT * FROM "languages" WHERE z = 0 AND a = 1 OR (b = 2 OR c = 3)`,
    		}, {
    			name: "depth_2",
    			queryFn: func(tx *gorm.DB) *gorm.DB {
    				return tx.Scopes(
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      private static BigInteger oldSlowFactorial(int n) {
        if (n <= 20) {
          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
          return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/bsentity/BsClickLog.java

        }
    
        public String getUrl() {
            checkSpecifiedProperty("url");
            return convertEmptyToNull(url);
        }
    
        public void setUrl(String value) {
            registerModifiedProperty("url");
            this.url = value;
        }
    
        public String getUserSessionId() {
            checkSpecifiedProperty("userSessionId");
            return convertEmptyToNull(userSessionId);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        }
    
    
        /**
         * @return the informationLevel
         */
        public int getInformationLevel () {
            return this.informationLevel;
        }
    
    
        /**
         * @return the filesystem info
         */
        public FileSystemInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the filesystem info
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  7. cmd/bucket-policy.go

    			args["groups"] = groups
    		}
    	}
    
    	return args
    }
    
    // PolicyToBucketAccessPolicy converts a MinIO policy into a minio-go policy data structure.
    func PolicyToBucketAccessPolicy(bucketPolicy *policy.BucketPolicy) (*miniogopolicy.BucketAccessPolicy, error) {
    	// Return empty BucketAccessPolicy for empty bucket policy.
    	if bucketPolicy == nil {
    		return &miniogopolicy.BucketAccessPolicy{Version: policy.DefaultVersion}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. internal/config/dns/etcd_dns.go

    	defer cancel()
    	if err != nil {
    		return nil, err
    	}
    
    	if r.Count == 0 {
    		key = strings.TrimSuffix(key, etcdPathSeparator)
    		r, err = c.etcdClient.Get(ctx, key)
    		if err != nil {
    			return nil, err
    		}
    		// only if we are looking at `domain` as true
    		// we should return error here.
    		if domain && r.Count == 0 {
    			return nil, ErrDomainMissing
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        public String getType() {
            return metadata.getRemoteFilename();
        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        public File getFile() {
            return null;
        }
    
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            return deprecated;
        }
    
        public void setDeprecated(String deprecated) {
            this.deprecated = deprecated;
        }
    
        public int hashCode() {
            return name.hashCode();
        }
    
        public boolean equals(Object other) {
            return (other instanceof Parameter) && getName().equals(((Parameter) other).getName());
        }
    
        public String getAlias() {
            return alias;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top