Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 926 for simpler (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tensorflow/c/eager/custom_device_test.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "absl/strings/match.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

         *
         * @param serverAddress the server address
         * @return cluster name or null
         */
        private String getClusterName(InetAddress serverAddress) {
            // Simple implementation - could be enhanced with proper cluster discovery
            String hostname = serverAddress.getHostName();
            if (hostname != null && hostname.contains(".")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

            } else {
              quotient = divide(x, radix);
            }
            long rem = x - quotient * radix;
            buf[--i] = Character.forDigit((int) rem, radix);
            x = quotient;
            // Simple modulo/division approach
            while (x > 0) {
              buf[--i] = Character.forDigit((int) (x % radix), radix);
              x /= radix;
            }
          }
          // Generate string
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/python-types.md

    現在你知道要修正它,把 `age` 用 `str(age)` 轉成字串:
    
    {* ../../docs_src/python_types/tutorial004_py310.py hl[2] *}
    
    ## 宣告型別 { #declaring-types }
    
    你剛剛看到宣告型別提示的主要位置:函式參數。
    
    這也是你在 **FastAPI** 中最常使用它們的地方。
    
    ### 簡單型別 { #simple-types }
    
    你可以宣告所有標準的 Python 型別,不只 `str`。
    
    例如你可以用:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py310.py hl[1] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. cmd/encryption-v1_test.go

    				r[i].Number = i
    				r[i].Size = getEncSize(s)
    				sum += r[i].Size
    			}
    			return ObjectInfo{
    				Size:        sum,
    				UserDefined: udMap(true),
    				Parts:       r,
    			}
    		}
    		// Simple useful utilities
    		repeat = func(k int64, n int) []int64 {
    			a := []int64{}
    			for range n {
    				a = append(a, k)
    			}
    			return a
    		}
    		lsum = func(s []int64) int64 {
    			sum := int64(0)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  6. internal/etag/etag.go

    // inside AWS S3.
    // Therefore, S3 clients must not make any assumption about ETags
    // in case of SSE-C or SSE-KMS except that the ETag is well-formed.
    //
    // To put all of this into a simple rule:
    //
    //	SSE-S3 : ETag == MD5
    //	SSE-C  : ETag != MD5
    //	SSE-KMS: ETag != MD5
    //
    // # Encrypted ETags
    //
    // An S3 implementation has to remember the content MD5 of objects
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. internal/s3select/select_test.go

    			query:      `SELECT * from s3object s WHERE 'bar' IN s.synonyms[*]`,
    			wantResult: `{"id":0,"title":"Test Record","desc":"Some text","synonyms":["foo","bar","whatever"]}`,
    		},
    		{
    			name:  "simple-in-array",
    			query: `SELECT * from s3object s WHERE s.id IN (1,3)`,
    			wantResult: `{"id":1,"title":"Second Record","desc":"another text","synonyms":["some","synonym","value"]}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * [close()][Response.close] for you.
     *
     * ```java
     * Call call = client.newCall(request);
     * try (Response response = call.execute()) {
     * ... // Use the response.
     * }
     * ```
     *
     * You can use a similar block for asynchronous calls:
     *
     * ```java
     * Call call = client.newCall(request);
     * call.enqueue(new Callback() {
     *   public void onResponse(Call call, Response response) throws IOException {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        /**
         * Returns the simple name of the dictionary file.
         *
         * @return The file name without the path.
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            }
            return res;
        }
    
        @Test
        @DisplayName("Read single bytes from stream with message packet")
        void readSingleByteHappyPath() throws IOException {
            // Create a simple message with 3 bytes of data
            byte[] data = new byte[] { 1, 2, 3 };
            byte[] fullData = concat(messageHeader(3), data);
            InputStream in = new ByteArrayInputStream(fullData);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top