Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for Wadler (0.16 sec)

  1. internal/logger/logger.go

    		f = strings.TrimPrefix(filepath.ToSlash(f), filepath.ToSlash(trimString))
    	}
    	return filepath.FromSlash(f)
    }
    
    func getSource(level int) string {
    	pc, file, lineNumber, ok := runtime.Caller(level)
    	if ok {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		return fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     * Assists unit testing.
     *
     */
    @Deprecated
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    	addEvent, err := processAddEvent(payload)
    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    	assertPodAnnotated(t, client, pod)
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    				}
    			}
    		}
    
    		return metrics
    	})
    	return mg
    }
    
    // metricsResourceHandler is the prometheus handler for resource metrics
    func metricsResourceHandler() http.Handler {
    	return metricsHTTPHandler(resourceCollector, "handler.MetricsResource")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3-types.go

    			m.Set(name, metric.Value, labels...)
    		}
    	}
    }
    
    // MetricsLoaderFn - represents a function to load metrics from the
    // metricsCache.
    //
    // Note that returning an error here will cause the Metrics handler to return a
    // 500 Internal Server Error.
    type MetricsLoaderFn func(context.Context, MetricValues, *metricsCache) error
    
    // JoinLoaders - joins multiple loaders into a single loader. The returned
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/em/docs/how-to/custom-request-and-route.md

    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    ### โœ ๐Ÿ›ƒ `GzipRoute` ๐ŸŽ“
    
    โญ, ๐Ÿ‘ฅ โœ ๐Ÿ›ƒ ๐Ÿฟ `fastapi.routing.APIRoute` ๐Ÿ‘ˆ ๐Ÿ”œ โš’ โš™๏ธ `GzipRequest`.
    
    ๐Ÿ‘‰ ๐Ÿ•ฐ, โšซ๏ธ ๐Ÿ”œ ๐Ÿ“ ๐Ÿ‘ฉโ€๐Ÿ”ฌ `APIRoute.get_route_handler()`.
    
    ๐Ÿ‘‰ ๐Ÿ‘ฉโ€๐Ÿ”ฌ ๐Ÿ“จ ๐Ÿ”ข. & ๐Ÿ‘ˆ ๐Ÿ”ข โšซ๏ธโ” ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ“จ & ๐Ÿ“จ ๐Ÿ“จ.
    
    ๐Ÿ“ฅ ๐Ÿ‘ฅ โš™๏ธ โšซ๏ธ โœ `GzipRequest` โšช๏ธโžก๏ธ โฎ๏ธ ๐Ÿ“จ.
    
    ```Python hl_lines="18-26"
    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/site/apt/artifact-handlers.apt

     Legacy Artifact Handlers Reference
     ---
     Hervรฉ Boutemy
     ---
     2013-08-02
     ---
    
    Legacy Artifact Handlers Reference
    
      Maven 3 artifact handlers (see {{{../maven-artifact/apidocs/org/apache/maven/artifact/handler/ArtifactHandler.html} API}})
      define for each {{{../maven-model/maven.html#class_dependency}dependency type}} information on the artifact
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 06:12:44 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    		timeout: timeout,
    	}
    	return dw
    }
    
    // Run runs the given function, passing it a stopper channel. If the deadline passes before
    // the function finishes executing, Run returns context.DeadlineExceeded to the caller.
    // channel so that the work function can attempt to exit gracefully.
    // Multiple calls to Run will run independently of each other.
    func (d *DeadlineWorker) Run(work func() error) error {
    	c := make(chan ioret[struct{}], 1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       * have been received. If the returned list contains multiple blocks of headers the blocks will be
       * delimited by 'null'.
       *
       * @param callerIsIdle true if the caller isn't sending any more bytes until the peer responds.
       *     This is true after a `Expect-Continue` request, false for duplex requests, and false for
       *     all other requests.
       */
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  10. fastapi/openapi/models.py

            @classmethod
            def __get_pydantic_json_schema__(
                cls, core_schema: CoreSchema, handler: GetJsonSchemaHandler
            ) -> JsonSchemaValue:
                return {"type": "string", "format": "email"}
    
            @classmethod
            def __get_pydantic_core_schema__(
                cls, source: Type[Any], handler: Callable[[Any], CoreSchema]
            ) -> CoreSchema:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top